How do radio stations decide which songs to play?

Mood -Tone- Era apart from these we have dedicated Music managers. You must also look at the audio rights. A lot of factors then decide which song to play or NOT to play