A looper pedal records your guitar as you play a riff or chord sequence and plays it back to you over in a loop. You can then add to this loop by 'overdubbing'; playing a second part over the top which will be recorded and added to the loop next time it circles round.