This is a pun on "process of elimination". Process of elimination is when you find the answer through eliminating answers that you know aren't true in order to find the true answer. Process of elimination can also be interpreted as a colon getting rid of human waste.
Overheard in med school - ' I learned about the colon through the process of elimination . '