DFT from Fourier transform
The area under an impulse function is one. So if you multiply a continuous time waveform with an impulse, the result will be a weighted impulse with the area equal to whatever the waveform was at that moment in time.