CBSE Class 11-science Answered
The nature in which light interacts with matter is different, light will not behave as a stream of particles. It behaves as a wave. For example
You can see for many miles through clear air and a clear piece of glass obviously is transparent to the wavelengths of visible light. The air is fortunately not transparent to the ultraviolet rays from the sun, though increasing transparency from ozone depletion is a concern.
The clear piece of glass is transparent to visible light because the available electrons in the material which could absorb the visible photons have no available energy levels above them in the range of the quantum energies of visible photons. The glass atoms do have vibrational energy modes which can absorb infrared photons, so the glass is not transparent in the infrared. This leads to the greenhouse effect. The quantum energies of the incident photons must match available energy level gaps to be absorbed.
You can read more on this article by clicking on any of the above links and which explains how does incident radiation interact with matter.