In this context, 'beat' refers to consistent sounds, like music or a heartbeat. It can describe how music feels and moves.
The beat of the song is very catchy.
I can feel my heart's beat.
This meaning is more serious and involves physically hurting someone. It is usually not acceptable behavior in many cultures.
He was beaten for misbehaving.
It is wrong to beat someone.
Here, 'beat' means to do something better than before or better than someone else. It often relates to achieving goals.
She always beats her personal records.
He aims to beat the previous best time.