If you want long aerobic zone 2 rides it’s easy to set a light resistance and keep your heart rate dialed in. No hills, no coasting, no stop lights. Just pedal at the wattage you want while you watch the game or a movie.
Intervals are more dialed in as well. Just adjust the wattage as needed and follow your resistance protocol.
Outdoors is more exhilarating. And there is upper body and core strength that comes into play outdoors that just doesnt happen indoors. Especially mountain biking.
Indoor bikes are great for fitness. Especially as a supplement to outdoor cycling.