There are different hardware options like a regular bike on a trainer [0], or a smart bike like the Wattbike or Wahoo Kickr bike [1]. These use open standards and let you use different software, and if you use a regular bike on a trainer you can even use it outside when the weather permits.
The most popular cycling training software is Zwift, it's basically the de facto standard just like Strava by this point. But you don't have to use it.
[0] https://www.dcrainmaker.com/product-reviews/trainers
[1] https://www.dcrainmaker.com/2019/10/smart-shootout-wahookick...