The correct response is:
B) The Hertzsprung-Russell diagram plots stars according to their luminosity and temperature, which is also associated with spectral class.
This statement accurately describes how the Hertzsprung-Russell diagram is used to compare stars based on their luminosity (brightness) and temperature (which relates to their spectral class).