Once you've created a youtube account and have been uploading vids, getting views, subs, etc. Youtube will send you a message asking if you'd like to apply for partnership, I'm not sure if you can just apply if you'd like or if you need this message, but after doing so, you could be granted a partnership with yòutube. They'll begin placing ads on your videos and on the sides of your videos and I believe everytime your video is viewed you're given some amount of money. However as just un said, your music availability becomes limited.