Yes and no.
Music is used in a variety of ways throughout films: to convey an emotion, to contrast a situation, to evoke a response, to add to a character, or even just as scene embellishment. In the short film I'm doing, the music choices were VERY specific to set the tone of the scene/environment. Or sometimes to convey who the 'bad guy/girl' is vs the person they want you to empathize with. I love the scenes with 'confusion' music during reality tv. It's awesome.
My favorite example: John Williams' score for Harry Potter. Hedwig's Theme is a GORGEOUS piece of music. The rush when the main Great Hall portion of the theme hits is indescribable. I love his work- it's incredibly dynamic and sweeping.