Osmoregulation
The change from being in water to living on land was one of the most significant things which happened in evolution. From the perspective of water balance this was one of the most dramatic changes ever made. Suddenly, the new land animal had the problem of losing too much water through its skin, and taking in too little if it moved away from the water.