INTRODUCTION How do complex biological traits such as eyes, flight, metabolic pathways, or flowers, originate during evolution? These biological features often appear so functionally integrated and so complicated, that imagining the evolutionary paths to such complexity is sometimes difficult. As such, some anti-evolution creationists maintain that functionally integrated, complex biological systems are “irreducibly complex”, that they cannot originate by evolution, and therefore they must be the product of “intelligent design”. In fact, structurally and functionally complex systems have originated through evolutionary processes. Here, we use eye evolution as a focus for how to implement a research program to gain understanding of the origin of complex traits. This research program first requires defining the trait in question, followed by inferring the timing of past evolutionary events with comparative methods. By understanding when different components came together, we can begin to understand how they came together, and by making inferences about possible functions and environmental context, we can begin to understand why those components stayed together. Eye evolution is particularly amenable to such a research program because we can use optics to predict function from morphology and we can predict gene functions because much is known about the genetic components of eyes and light sensitivity. This approach leads to a narrative on animal eye evolution that, while still incomplete, is already rich and detailed in many facets. We know that a diversity of sometimes disparate eyes have evolved using functional components that interact with light. Many parts of this light interaction hardware kit are used outside of eyes and were recruited into light receptive organs during evolution. But what were these components doing outside of eyes? Here, we propose the hypothesis that several parts of the light-interacting hardware kit were recruited for use in eyes from ancestral roles related to stress response.