Interference does not necessarily require two sources: even a single sufficiently narrow aperture produces a pattern of maxima and minima. This phenomenon is diffraction, and it arises from the interference of the infinitely many secondary waves emitted by every point of the aperture (Huygens–Fresnel principle). Here we study it from the single slit to the grating, up to the limit it imposes on the resolving power of optical instruments.