Question: what are the conditions necessary for life?
Answer: Life on Earth uses only two types of energy for metabolism: sunlight and redox chemistry ... One or the other has to be present, and if you're in the habitable zone of a star, you at least have enough light to support photosynthesis. So you have the right temperature, water, and sunlight.