what is fourier transform used for
Fourier transforms are used for many applications where the spectral content of a function, or a waveform, is important. For example, you might have an equalizer on your stereo that attenuates (filters) frequencies outside the audio passband, or perhaps shapes the spectrum to your liking (more bass!).