Just like we get freckles from spending too much time in the sun, the sun gets sunspots from spending too much time, well, being the sun. Sort of. Sunspots, like the one pictured above from April 17th, occur when strong magnetic fields break through the sun's surface. When they do, that area cools down slightly, as seen through a sunspot. NASA/SDO/Goddard