Lanolin is a waxy substance that is produced by wool bearing animals.
Esters found in lanolin make it hold water pretty well without dissolving in it.
This trapping of water is what helps lanolin oil moisturize natural hair. Lanolin oil also can penetrate skin cells. It traps water in the cells preventing water loss.