What exactly are vote balance in cake token?

I was reading the Cake Token smart contract and came across delegate votes, I assume that your cake balance corresponds to the amount of votes you get. And when you delegate votes basically you give the rights of your votes to someone else. But what exactly are this votes for and what happens when you delegate them to someone else?

What exactly are vote balance in cake token?