A drain valve performs the critical function of allowing excess water vapor to escape into the atmosphere. The removal of condensation helps prevent the formation of corrosion that will eventually damage the compressor and shorten its lifespan.