A recorded song carries two copyrights. The first covers the composition, which is the melody and the words. The second covers the sound recording. Songwriters and their publishers own the composition, and artists and their labels usually own the recording.
A performing rights organization collects a royalty when a composition is played in public, broadcast or streamed. A mechanical royalty is paid when a composition is copied, as in a download or a stream. In the United States, the Mechanical Licensing Collective collects these royalties from streaming services.
The recording earns royalties of its own. In the United States, SoundExchange collects them for digital radio and pays a share to the performers. In the United Kingdom, PPL collects for recordings played on the radio and in public places.
A film, a game or an advertisement needs a synchronization license from the owners of the composition to set music to pictures. To use an existing recording, it also needs a master use license from the owners of that recording.