Welcome to Fourier series! This is one of the most powerful tools in mathematics and engineering. Fourier series allows us to decompose any periodic function into a sum of simple sine and cosine waves. Here we see a square wave being approximated by its fundamental frequency and harmonics.