What is the working principle of the desiccant air dryer?

What is the working principle of the desiccant air dryer?

The adsorbent is used to dehydrate and dry the water vapor in the compressed air.