When sodium bicarbonate is heated , it releases carbon dioxide and water vapor ( gas ) and turns into sodium carbonate . Above 70 Â C , sodium bicarbonate gradually decomposes into sodium carbonate , water and carbon dioxide .