Sync licensing, or “Synchronization,” refers to the use of music in films, TV shows, commercials, video games, presentations, YouTube videos, or anything else where a song is “synced” to moving images.
When a song is licensed for sync, a fee is paid to the songwriter/publisher for the usage of the underlying composition, AND to the copyrighter owner of the master recording for the use of the track.
If you wrote the song and haven’t sold the rights, you are the publisher. If you own the recording you are the copyright holder. In this case you would get paid both fees.