Sun 10 year cycle, why?

Why does the sun have a 10 year cycle? where does this come from?

Do other stars like the sun have a 10 year cycle? Do stars of other types like neutron stars also have a cycle where the temperatur moves between 2 values over a long time?