If you need a lot of things to go to work and it is inconvenient to walk, it is inconvenient to walk. In principle, aerobic exercise for 30-60 minutes three times a week with a heart rate of 120- 130 can keep you healthy. If you want to lose weight, you should lose weight five or six times a week for at least 40 minutes each time.
Now it depends on your needs and the time to go to work by bike. If you just want to exercise, then I think you can keep cycling for more than 15 minutes every day, your heart rate should be above 120, and you can also exercise your heart and lungs. Run, play ball, etc. Weekends are similar. If you want to lose weight (the very fat kind), ride a bike to work or ride a fitness bike at home (which needs ventilation, but not strong air conditioning), I think the latter is better, at least you won't inhale automobile exhaust during peak hours.