The audio signal is time-delayed using one or more delays, and the delays are slowly modulated to give a slight pitch change to the delayed signals to approximate the effect of two or more people playing the same notes, but not quite in time/pitch with each other, as would normally occur.
This page has good explanations of different effects: