The Sun is a medium-sized, average star located at the center of our solar system. It has a diameter of 1.39 million km and is made up primarily of hydrogen and helium gases. Energy is created in the Sun's core through the fusion of hydrogen into helium and radiates outward through different layers before reaching the photosphere, which is what we see from Earth. The Sun also produces a continuous outflow of charged particles called the solar wind.