Agree fully with SiD!
It's not the same as being outside on the open road, but as a form of exercise it is, IMO, second to none. If you have a good instructor, motivational music (AC/DC, Scooter etc) and some attractive 'scenery', then you'll be in for a good sweaty session.