Cycling class?

Have you ever taken a cycling class? Did it help with losing weight and thigh and stomach tonage? Please let me know your experiences