The sun is an averaged-sized type G star and is middle-aged at about five billion years. The condensation of the bigger and bigger gravity material on the sun caused the…