What determines all the star's properties such as its temperature, size, brightness and life span?

AWeight b. Mass c. Diameter d. Luminosity