Sometimes they don’t- they can just send the whole load to the landfill instead of processing it if there’s excessive trash contamination.
But recycling facilities usually employ either humans to stand on the conveyor lines and separate recyclables from trash, or automated equipment that does the same thing.
Latest Answers