How music ends up in commercials

NPR has an interesting article about how music ends up in commercials. Obviously the company selling the product wants to identify with a certain demograghic but what goes on behind the scenes?
And far from artists considering this a sell out, they are hoping and praying that their music ends up selling body spray.
Check out the article here.