Sunspots are indicators of solar activity, and their number is directly related to the frequency of solar flares.