The FDA regulates the safety of cosmetics, ensuring that they do not pose an unreasonable risk of harm to consumers.