How does dehydration occur?