Embodiments of the present disclosure are directed to systems and methods of removing carbon dioxide from a gaseous stream using magnesium hydroxide and then regenerating the magnesium hydroxide. In some embodiments, the systems and methods can further comprise using the waste heat from one or more gas streams to provide some or all of the heat needed to drive the reactions. In some embodiments, magnesium chloride is primarily in the form of magnesium chloride dihydrate and is fed to a decomposition reactor to generate magnesium hydrochloride, which is in turn fed to a second decomposition reactor to generate magnesium hydroxide.