Popup drain works as a kind of plug for water pipes and faucets. When you open the drain, water flows and when it is closed water accumulate.