General principles of magnetohydrodynamics; theory of the expanding atmospheres; properties of solar wind, interaction of solar wind with the magnetosphere of the Earth and other planets; bow shock and magnetotail, trapped particles, auroras.