Jean Baptiste Joseph Fourier (1798–1830) was a French mathematician who is most widely recognized for his development of what we now call Fourier Series. In ABE425, we do not solve differential equations, but we use Fourier Series to analyze signals by creating frequency spectra. Let's assume we have an interval $[0,2\pi]$ on which our signal (input function) is defined. According to Fourier we can now write our input function $f(t)$ as the sum of a constant and a sum of cosine and sine functions of varying frequency $n$ (also known as basis functions) as follows $$ f(t) = c_0 + \sum_{n=1}^{\infty} a_n \cos(nt) + b_n\sin(nt) \tag{11.1} $$
According to a textbook that my professor wrote, it is defined as shown above. But I wanted a more specific/deeper explanation of what exactly this "basis function" is. Can someone explain what basis function is with examples if possible and why it is applicable in Fourier series?