The sun is approximately 4.6 billion years old. It was formed when part of an immense molecular cloud underwent a gravitational collapse. The sun is a ball of gas, consisting of 92.1 percent hydrogen and 7.8 percent helium.
The sun is situated at the center of the solar system and makes up approximately 99.8 percent of the whole solar system's mass. The sun's mass is over 330,000 times that of the Earth. The sun's diameter is about 865,000 miles, over 100 times the diameter of the Earth. The core of the sun reaches a temperature of about 27 million degrees Fahrenheit. The sun's mean distance from Earth is approximately 93 million miles.