A sunspot is an area of high magnetic activity, on the surface of the Sun. Sunspots produce bright light, but not as much as the surface around them, so they appear dark by comparison. They are cooler than the rest of the sun. Some are small, and some are ten times bigger than Earth.
A sunspot cycle of eleven years has been found, with changes in activity. Every 11 years the number of sunspots increases, and later declines. Sunspots on one cycle are magnetically different from the next, so the total sunspot cycle is 22 years. This cycle has been seen since the 18th century. Before that time, for over a hundred years, there were very few sunspots. Astronomers do not know what caused this "Maunder Minimum".