The reaction that occurred is called a decomposition reaction when carbon dioxide and water are formed from carbonic acid. It is a type of reaction where it involves a single compound breaking down into two or more products. These reactions often requires an energy source thus is an endothermic reaction.