Why does a lizard have moist and slippery skin?

They do not. Lizards have dry skin. Salamanders, which look like lizards, have moist skin. Salamanders have water permeable skin, so they must stay moist in order to avoid drying out.