An essay on sunspots and solar flares