As a layman, I find the explanation that functions can be expressed as a sum of sine waves to be quite clear, even if I don't fully understand the details of how the transform is calculated.
Isn't that the central insight behind the Fourier Transform? Once that is accepted, the tricky part is understanding how to transform functions back and forth.
> Isn't that the central insight behind the Fourier Transform?
Depends on how central you want the insight to be.
The Fourier transform idea works in domains other than nice functions on the real line. Consider Hadamard-Walsh transforms of digital signals. No sine or cosine waves there but they behave very much the way a Fourier transform is expected to behave. So why does the space of digital signals admit such Fourier like decompositions ? The answer to that is in the comment that you are responding to.
Group theoretic invariance is the vital underlying pattern that makes Fourier transforms possible in various domains and is the common thread that ties these different Fourier transforms where they are not the usual sine and cosine waves. It is simpler if the group is commutative but can work on non commutative groups also
The simplest not-quite-but-close-enough explanation is that the integral is a frequency sweep used a as a test signal, put through a correlation function which tells you how much the test function matches the function you're analysing at each infinitesimal point.
The output function defines that set of correlations - which gives you a graph of the correlation result at each input frequency.
The minor complication is that the input and output are complex, so the output is of the form sin(th) + icos(th). Or - if you prefer - amplitude + phase.
So it's a little more complex (ha...) than "sum of sines at different levels."
But not much.
Sum of sines gives you audible overtones in music DSP, but it won't necessarily give you the shape of an input function because the phases also have to be correct for that. (Famously, we can't hear relative phase when it's static.)
The DFT is just the same with discrete samples.
The FFT is a clever and efficient way to do a DFT, eliminating some of the redundancies in a naive brute force DFT.
And yes - you can use the same idea for other transforms. As long as you can "test" your input with a probe function and get some output, and you can either sweep your probe or apply a linear set of discrete probes, you'll get... something that may be useful.
The nice thing about the most useful set of these transforms is that the operation works in either direction.