Planets And Their Potential For Habitability