Our brain is primed early on to respond to and process music. Research has shown that day-old infants are able to detect differences in rhythmic patterns. Mothers across cultures and throughout time have used lullabies and rhythmic rocking to calm crying babies.
From an evolutionary standpoint, music came before language. We don’t yet know why, but our brains are wired to respond to music, even though it’s not “essential” for our survival.