People recall information more effectively when they're doing so in the same environment in which they initially learned it, according to the textbook "Educational Psychology." Students who listen to music while studying will be better at recalling the information they've learned if they also listen to music during tests -- an opportunity most students don't have. This might mean that listening to music can make recalling information more challenging, particularly for students who transition from listening to loud music to taking a test in a silent classroom.
Various studies have indicated that, in general, people who listened to music while they worked on repetitive tasks performed faster and made fewer errors . These results occur because music you like triggers the release of feel-good neurotransmitters such as dopamine, serotonin and norepinephrine, which help you feel relaxed and happy and, therefore, focus better. This is true even when the task you're doing is complex-- surgeons routinely listen to music in the operating room specifically because it relieves the stress that could compromise their focus and performance. An improved mood from music also affects how you interact with your co-workers. If you feel better, you usually are more respectful, patient, and cooperative, which can lead to better teamwork.