The activity of the Sun as a result of cyclic changes of the global magnetic field is studied. As a consequence of the analysis of magnetic activity of solar-type stars the following power dependencies were found: the dependence between the rotation periods and the effective temperatures −3,9 , the dependence between the duration of the "11-year" cycles of activity and the effective temperatures T 11 ∼ T ef f −1,1 and the dependence between the duration of quasi-biennial cycles and the effective temperatures T 2 ∼ T ef f −0,79 . It is shown that the physical nature of these dependencies associated with the observed properties of solar-type stars and can be explained by the existence of internal Rossby waves around the base of convective shells of these stars.