Electromagnetic waves, such as light and photons, display wave-like behaviors, such as interference and diffraction, as observed in the double-slit experiment. However, when interacting with matter or detectors, they also exhibit particle-like behaviors, where they can be detected as discrete packets of energy known as photons. This duality is a fundamental aspect of quantum mechanics.