Sunspots follow a predictable pattern known as the sunspot cycle. A second cycle, known as the solar cycle, tracks changes in the Sun's magnetic field.

Courtesy of NASA