The Hertzsprung-Russell diagram is a chart that shows the relationship between a star's luminosity or absolute magnitude versus its spectral type, stellar classification, and effective temperature. It plots each star on a graph of magnitude against temperature and color. Most stars occupy the main sequence area of the diagram where they are fusing hydrogen. The diagram can also be used to measure the approximate distance between a star cluster and Earth by comparing apparent and absolute magnitudes.