Is cycling or gym better for weight loss?

Cycling at the gym