The Sun in the initial stages of its formation, nearly 5 billion years ago. The protosun had less mass than the Sun has today, and was larger, with a radius comparable to that of the orbits of the inner planets. Over about a million years the protosun’s mass increased through the addition of gas from a surrounding disk, the solar nebula, while the weight of this infalling material made it shrink to only a few times its present size.