What Makes a World Habitable?