Optical baffles are structures used in optical systems to block unwanted light, improving image contrast and reducing glare. They are strategically placed to absorb or redirect stray light away from the optical path, enhancing the performance of telescopes, cameras, and other imaging devices.