Dehydration involves removing water from milk, reducing the water activity that microorganisms need for growth. It helps in extending the shelf life of milk by inhibiting microbial growth and preventing spoilage.