The Sun rotates on its axis, as do the planets. However, the time it takes material at the Sun's equator to complete one orbit is much less than near its poles. This is because the gases, not being rigid like a terrestrial planet, rotate faster at the equator than at the poles.