Abiotic and biotic processes that drive carboxylation and decarboxylation reactions