3.8 billion – 2.5 billion years ago
The Archean is the name of the age which started with the shaping Earth. This time of Earth's history endured quite a while, over 2.5 billion years. When the archean age ended the earth was just coming alive.
Stellar evolution is the process by which a star undergoes a sequence of radical changes during its lifetime. Depending on the mass of the star, this lifetime ranges from only a few million years (for the most massive) to trillions of years (for the less massive), considerably more than the age of the universe. ^
Small, relatively cold, low mass red dwarfs burn hydrogen slowly and will burn for hundreds of billions of years
Massive hot supergiants will live for just a few million years.
A mid-sized star like the Sun will remain on the main sequence for about 10 billion years. Hope tis helps!!