Carbonate in cosmetics acts as a buffering agent to adjust the pH levels of formulations, ensuring they are gentle and suitable for use on the skin. It can also help stabilize and maintain the consistency of products such as creams and lotions.