The paper presents a study of the effect of a perturbing magnetic field on a field whose magnetic surfaces are tori nested around a closed central line. This perturbation effect creates magnetic islands around surfaces with rational rotational transform. These islands are investigated analytically, which makes it possible to evaluate their size. The resulting turbulence of the medium can then be studied by calculating the interaction of two neighbouring islands.