The main function of Poly-L-glutamic acid in cosmetics and skincare products is as a moisturizing agent.