My best answer would be that out brain makes connections. Music can make a conection to what ever we're seeing/feeling in the moment. That's why certain songs might make us sad or happy, or any other emotion. Music can also help you concentrate, depending on the person.