Generally, optical instruments are formed by circular openings. When light passes through these openings, diffraction occurs and we have the formation of rings of light, interspersed with dark rings. This leads to the Rayleigh criterion, which establishes a minimum angle for distinguishing two objects: $\theta_{min}\approx 1.22 \lambda/D$, where $\lambda$ is the wavelenght and $D$ the diameter of the opening. However, I was thinking: to have interference effects, and consequently diffraction, the light that passes through the aperture must be coherent light. However, most light sources in nature are not coherent. Stars are not, so in a telescope, for example, I shouldn't observe these diffraction patterns. In this case, doesn't the Rayleigh criterion lose its meaning?
The books I read, when they talked about this subject, simply ignored the need for light to be coherent, what sounds a bit strange to me and made me question whether this condition is really necessary.