The structure that controls how much light passes through a specimen is the diaphragm, often found in microscopes. It adjusts the aperture size to regulate the amount of light entering the optical system, enhancing contrast and resolution. By manipulating the diaphragm, users can optimize the illumination for different specimens and viewing conditions.