The larger a star, the shorter its life, although all but the most massive stars live for billions of years.