Answer:
The way a star dies depends on how much matter it contains—its mass. As the hydrogen runs out, a star with a similar mass to our sun will expand and become a red giant. When a high-mass star has no hydrogen left to burn, it expands and becomes a red supergiant.
Step-by-step explanation: