The Fourier transform extends Fourier series ideas to nonperiodic functions. A Fourier series breaks a periodic signal into a sum of sines and cosines. When the period becomes infinite, that discrete sum changes into a continuous integral.
A pulse-train waveform shows this change clearly. With a finite period, the repeating rectangular pulses can be represented by a Fourier series. As the period grows without bound, the waveform becomes a single isolated pulse, and the description shifts to...