A sampler is an electronic instrument or software that records and plays back fragments of Audio. These "samples" can be creatively manipulated, layered, and triggered to form new rhythms, melodies, and soundscapes, often working alongside a Synthesizer.