This illustration of a brain with musical notes gives several examples of the connection between music and cognitive function including the influence of music on mental processes and emotions.
https://s3.eu-central-2.wasabisys.com/mastodonworld/media_attachments/files/113/136/753/242/331/136/original/66e1f9191c8fac04.jpeg