Music plagiarism is the use or close imitation of another author's music while representing it as one's own original work. Plagiarism in music now occurs in two contexts—with a musical idea (that is, a melody or motif) or sampling (taking a portion of one sound recording and reusing it in a different song). For a legal history of the latter see sampling.