To record musical material alongside previously existing material. Probably invented by Les Paul, the father of multitrack recording; turned into an artform by the Beach Boys and The Beatles, who juggled several layers of music, using the state-of-the-art four-tracks of their day. It's a common tactic for modern pop recordings, and a necessary one for one-man bands like Prince and Paul McCartney.