Sampling is the process of taking a segment from a previously recorded sound and incorporating it into a new composition. It originally began as a technique used by experimental composers, but became popular in early hip-hop and later adopted by other genres. However, in order to use a sample legally, you must obtain permission from both the owner of the composition and the owner of the sound recording.