Background and Objectives: The physical mechanism of the generation of a steady wave flow at the photospheric level is studied, which ensures anomalous heating of the solar atmosphere at various stages of the solar activity cycle. Background and Objectives: We study the conditions of stability loss for slow modes of oscillation at various depths of the convective zone and the development of Parker’s instability, which leads to the ejection of magnetic fields into the atmosphere of the Sun. Materials and Methods: Based on the