When the water level rises, the floating switch turns on the pump, which grinds waste and ejects it up the waste line. The check valve stops wastewater from flowing back into the basin.