Magnetic field of Sun