What are the functions of waxes?

Waxes form water insoluble coating on hair and skin on animals and plants