Much like a gobstopper, the sun has several layers: the core, the radiation zone, the convection zone, the photosphere, the chromosphere, and the corona.
Thermonuclear fusion (a process that involves several steps, including turning Hydrogen into Helium, and ultimately gives off energy in the form of gamma rays plus a few neutrinos) occurs in the core. The core is the only place in the Sun that has enough energy (that is hot enough) for thermonuclear fusion to occur.
In the radiation zone, energy created through thermonuclear fusion in the core, travels further and further outward. Astronomers believe that energy travels through the radiation zone as electromagnetic radiation. Astronomers also believe that the radiation zone is so dense, that it could take upwards of 171,000 years to escape into the convection zone.
After energy has passed through the radiation zone, it reaches the convection zone, the final layer in the Sun's structure. In this layer, energy is usually transported using convection. In the Sun, the convection zone takes up the outer 30%.
After leaving the convection zone, energy makes it's way to the Sun's atmosphere. The layer closest to the convection zone is called the photosphere. The photosphere is primarily made up of Hydrogen and Helium, the two most abundant elements in the solar system. The photosphere is not very thick, compared to the rest of the sun, but we can only see approximately 400 kilometers into it. Were it not for the opaqueness of the photosphere, theoretically, we would be able to see into the sun's interior for thousands of kilometers. Solar flares and sunspots take place in the photosphere.
The chromosphere, usually washed out because of the incredibly bright photosphere, is only visible with the human eye for mere seconds during a total solar eclipse as the moon covers the edge of the photosphere. Arguably the most spectacular of solar phenomenon, solar prominences are made of plasma around the same temperature as the chromosphere (around 10,000K).
The corona, the outermost layer of the Sun's atmosphere, begins on top of the chromosphere. Incredibly hot (somewhere between 1 and 3 million Kelvins), the corona is most visible to the human eye during a total solar eclipse.