Answer:
astronomers know that sunspots are associated with magnetic fields because they can look at the spectral lines that come from the sunspots and measure by how much these lines are split.
1.6m questions
2.0m answers