Their primary function is to regulate your body temperature, also known as thermoregulation. These glands, which open directly onto the surface of your skin, produce a lightweight, odorless sweat. Isadora Baum is a freelance writer, certified health coach, and author of 5-Minute Energy. You should be getting 30 grams of fiber a day, and it’s easier than you think.