Lifespans of stars vary widely based on their size. Smaller ones, like our Sun, can live for about 10 billion years, while the massive ones might last only a few million years before they explode as supernovas.