All forms of life that we know of depend on one critical component: liquid water. So, in the search for life, astronomers focus on planets where liquid water could exist, which they call ‘habitable’.
Every star has a ‘habitable zone’, also called the ‘Goldilocks zone’, where it is not too hot and not too cold. A planet in the habitable zone gets the right amount of energy from the star to support liquid water. Any closer in to the star and water would boil, and any further out and it would freeze.
However, this doesn’t guarantee that liquid water would exist on a planet in the habitable zone. The planet’s atmosphere could be too thick, raising the temperature even higher. And even if liquid water does exist on the planet, habitable doesn’t mean inhabited.