The center of the sun is the hottest part (at around 15 million Kelvins, or 27 million degrees Fahrenheit). The temperature then drops to 5,800 K (10,000 degrees F) at the visible surface, although the corona (the part just above the surface, where solar flares are), can get much hotter (2 million K, or 3.6 million degrees F).
I found this information and tons of really neat stuff (pictures, movies, etc.) at http://sohowww.nascom.nasa.gov/ , which is the homepage for NASA's SOHO (SOlar and Heliospheric Observatory) project. For a good intro, click on "Classroom" (on the left hand side, under the "RESOURCES" heading), and then on the section for "The Sun 101" course.
Answered by:
Gregory Ogin, Physics Undergraduate Student, UST, St. Paul, MN
'To myself I seem to have been only like a boy playing on the seashore, and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.'