Ommatidia are the structural and functional units of compound eyes. Each ommatidium comprises a corneal lens, a crystalline cone, and a rhabdom, which houses the photoreceptor cells. The corneal lens focuses light onto the crystalline cone, which then directs the light to the rhabdom. The photoreceptor cells within the rhabdom convert light into electrical signals that are processed by the nervous system.