Parabens are a class of widely used preservatives in cosmetic and pharmaceutical products. As preservatives, parabens give products a longer shelf-life and prevent harmful bacteria and mold from growing in the products, according to the U.S. Food and Drug Administration (FDA).