A method for extracting energy in the form of concentration gradients and for storing energy in the form of concentration gradients, respectively, the method comprising a process of extracting energy comprising the steps of feeding stored gaseous working medium into a working volume, compressing the working medium in the working volume, spraying a dilute solution into the working volume before or during compression, increasing the temperature of the working medium fed in the working volume by compression, evaporating the dilute solution with the working medium of increased temperature, removing heat from the working medium by the evaporating solution, keeping the heat extracted from the working medium in the form of latent heat of the vapor in the working volume, further increasing the temperature of the working medium until the partial pressure of the vapor in the working medium approaches the vapor pressure of a solution of higher concentration at a corresponding temperature, spraying a solution of higher concentration of a vapor pressure of up to 60% of the vapor pressure of the dilute solution into the expanding working medium having a high vapor content, obtaining thereby an atomized solution, condensing the vapor in the working volume onto solution droplets of the atomized solution and thereby heating the solution droplets, conveying the heat energy of the heated solution droplets to the working medium through contact surfaces of the solution and the working medium, feeding the heat previously conveyed to the dilute solution vapor during the compression back into the working medium plus as much heat as the condensation heat of the warmer vapor to the solution of higher concentration exceeds the heat of evaporation of the dilute solution, using the heat thus fed to perform work by the expansion of the working medium, obtaining the work performed by the working medium, removing the working medium and the solution from the working volume after the gaseous working medium of low relative humidity got into a state close to its initial state, separating the working medium and the solution and returning the working medium to a container for working medium and returning the slightly diluted solution of higher concentration to one of a container for the solution of higher concentrations and an additional container for the solution of intermediate concentration. a process of extracting energy comprising the steps of feeding stored gaseous working medium into a working volume, compressing the working medium in the working volume, spraying a dilute solution into the working volume before or during compression, increasing the temperature of the working medium fed in the working volume by compression, evaporating the dilute solution with the working medium of increased temperature, removing heat from the working medium by the evaporating solution, keeping the heat extracted from the working medium in the form of latent heat of the vapor in the working volume, further increasing the temperature of the working medium until the partial pressure of the vapor in the working medium approaches the vapor pressure of a solution of higher concentration at a corresponding temperature, spraying a solution of higher concentration of a vapor pressure of up to 60% of the vapor pressure of the dilute solution into the expanding working medium having a high vapor content, obtaining thereby an atomized solution, condensing the vapor in the working volume onto solution droplets of the atomized solution and thereby heating the solution droplets, conveying the heat energy of the heated solution droplets to the working medium through contact surfaces of the solution and the working medium, feeding the heat previously conveyed to the dilute solution vapor during the compression back into the working medium plus as much heat as the condensation heat of the warmer vapor to the solution of higher concentration exceeds the heat of evaporation of the dilute solution, using the heat thus fed to perform work by the expansion of the working medium, obtaining the work performed by the working medium, removing the working medium and the solution from the working volume after the gaseous working medium of low relative humidity got into a state close to its initial state, separating the working medium and the solution and returning the working medium to a container for working medium and returning the slightly diluted solution of higher concentration to one of a container for the solution of higher concentrations and an additional container for the solution of intermediate concentration.