Iain Explains Signals, Systems, and Digital Comms
Tapering the record with a window (Hann, Hamming, Blackman, flat-top) before the DFT removes the edge discontinuity and trades main-lobe width against side-lobe level: narrower main lobe resolves close tones, lower side lobes suppress leakage — you cannot have both at once.