Fourier transforms convert complex signals into a series of sinusoid waves. Since it's easy to create a sine wave with a microcontroller, you can perform a Fourier transform on a complex wave and reproduce it with sine waves. A few sine waves could be used to generate the sounds of instruments, and many lossy files like JPEG are compressed using DCT, a form of Fourier transform.