Within certain limits, each of those stars explodes the same way, igniting the same amount of fuel, releasing the same titanic amount of energy in the same amount of time, thereby reaching the same peak luminosity. Thus they serve as a kind of yardstick, or “standard candle,” for calculating cosmic distances to the galaxies in which they explode,