Quantum interference occurs when particles are in a superposition state, meaning they can exist in multiple states simultaneously. When these particles encounter a double-slit experiment or a similar setup, their wavefunctions overlap, resulting in an interference pattern. This pattern can be observed as alternating bands of high and low probability, illustrating where the particles are likely to be detected.