Shower and refrigerator sump...
That y valve is for the discharge of the shower and refrigerator sump. In one position the pump discharges the shower, in the other position it discharges the condensation from the refrigerator. The sump pump is activated with the switch just above the toilet. They are both discharged through the same thru hull as the toilet intake.