Music is a good distraction
Studies have shown that working out with music makes people less aware of how much energy they are exerting. Hence, they feel less tired and become more productive.
Music helps you maintain a good pace
The rhythm of music stimulates your brain. Good beats is a must for exercises where pacing is important. The rhythm enables riders to use their energy more efficiently and allows you to maintain a consistent pace through your ride.