Explanation on medela pump

J

Can someone explain to me what the valve is for ? I feel like it makes me waste some milk as it gets stuck in there 🥴