Windows are used in many DSP related applications. A prominent use case is spectral analysis, where windowing the signal before doing spectral analysis mitigates spectral leakage.