Glycerol is added to soap. It functions is-

1. As a filler

2. To increases leathering

3. To prevent rapid drying

4. To make soap granules

Hint: Glycerin helps to ensure that your skin will maintain its own moisture in order to protect it from damage caused by dryness. 

Glycerol is added to shaving soap to prevent rapid drying while to enhance the leathering property of soap, a gum called rosin is added to them. It forms sodium rosinate which lathers well. Soap granules are dried miniature soap bubbles.

Builders/fillers make the soap act more rapidly. Builder or filler (e.g. sodium tripolyphosphate) is added to the detergent powder. Its main function is to act as a water softener by removing Mg2+ and Ca2+ ions from hard water by forming stable soluble complexes.