Note that it is called a p trap because of its shape and that it is not a pee trap.
Air conditioning p trap drain.
All air conditioners have a special drain for this condensation.
Any connection to a plumbing system that is not hard piped has to enter via an indirect waste receptor which is similar to how most home clothes washers are piped.
As the fan circulated ventilation air when the air conditioner was not running it would simply evaporate the water in the condensate pan and bring it back into the house.
An interesting little part of the condensate drain in a residential air conditioning system is the p trap.
That is why in the summer your car drips water.
Over time sludge and slime can build up within the p trap.
See when moist air hits something cold the water condenses out of the air and collects on the cold surface.
The main drain can get blocked at any point along the length of the drain including at the exit point or in the case of ducted air conditioners the p trap.
Air conditioning units pull a lot of water out of the air.
I suspect that how an ac drain is connected to the sewer is not the primary que.
It traps debris that has drained from the sink and prevents it from forming a clog deep within the plumbing system and to stops sewer gases from passing into the home.
A p trap serves a very important purpose on an a c unit.
So no that is not what that little vent pipe is for.
When the blower is located downstream of the cooling coil the pan pressure is negative below ambient and when located upstream of the cooling coil the pan pressure is positive above ambient.
That is something completely different.
Why airconditioning systems become blocked.
The blower that forces air through the system creates a pressure in the drain pan compartment which adversely affects condensate removal.