A square wave is approximated by the sum of harmonics.

square wave apporiximated by sum of harmonics