No, the Fourier series can only represent periodic functions. The Fourier series can not be there in all mathematical functions.