The Michelson–Morley experiment aimed to detect ether by measuring the speed of light in perpendicular directions, expecting variations due to Earth's motion through an ether medium. The experiment found no significant difference in light travel times, suggesting that if ether exists, it is either stationary relative to Earth or too complex to detect. While it does not definitively disprove ether, it indicates that the speed of light is invariant in the context of the experiment, supporting the idea of light as a universal constant. The discussion also touches on concepts like length contraction and the implications of ether theories, ultimately leading to the development of Einstein's theory of relativity. The experiment remains a pivotal moment in physics, challenging prior notions of light's behavior and the existence of ether.