Naele~
Fourier Series is a *special case* of a more general concept. Perhaps some key words you could look up online or in textbooks would be : orthogonality, basis states, fast Fourier transform (FFT), orthonormal basis, maybe even Hilbert Space, or Gram Schmidt, or Legendre polynomials, or...