Stars are separated by vast distances, which astronomers measure in light years. The closest star to our sun is Proxima Centauri. Astronomers use the parallax effect of observing stars from different positions as the Earth orbits the sun to measure distances to nearby stars. A star's properties include its color, temperature, size, brightness, and chemical composition. Stars are formed from dense clouds of gas and dust in space, and their life cycles depend on their mass, ending as white dwarfs, neutron stars, or black holes.