Light is fundamentally an electromagnetic wave. It is composed of oscillating electric and magnetic fields that propagate through space without the need for a medium.
On the other hand, matter, such as electrons or other particles, can exhibit wave-like behavior. This concept is known as matter wave or particle wave duality. According to the de Broglie hypothesis, particles, including electrons, have wave-like properties associated with them. This hypothesis suggests that every particle with momentum has an associated wavelength, given by the de Broglie wavelength.
So, while light is an electromagnetic wave, matter particles can exhibit wave-like behavior. The wave-particle duality applies to both light and matter, but they are distinct phenomena.