Any light-sensing structure in some primitive organisms that consists of a pigmented area and light sensitive cells; also called an ocellus.