For example, our Sun is white, and the Earth is the perfect distance away for life. If our Sun was a hotter, blue star, however, Earth would have to be much farther away or else it would be too hot to have water and sustain life.