 The Fourier transform of the square wave generates a frequency spectrum that presents the magnitude of the harmonics that make up the square wave (the phase is also generated, but is typically of less concern and therefore is often not plotted).The Fourier transform can also be used to analyze non-periodic functions such as transients (e.g.impulses) and random functions.