Solid sodium hydroxide on exposure to air absorbs a gas and ultimately gives another alkaline…