The terrain affects calorie burn during cycling as it determines the intensity of the workout. Riding on flat terrain requires less effort and therefore fewer calories are burned compared to uphill or off-road cycling, which requires more effort and burns more calories.