Hot gas traces the Sun’s magnetic field lines as they arc above the solar surface. Essentially all solar activity arises from magnetic forces acting beneath, at, and above the surface.
TRACE/NASA/GSFC