A periodic function $$f$$ or a function in an interval, can be approximated (locally) at a point by a Taylor series. The approximation is $$f_{\text{taylor}}$$. However, we can also approximate the function $$f$$ by a Fourier series in the entire interval. A Fourier series contains periodic basis functions ("building blocks") from which $$f$$ is assembled.