Carpet cleaning machines spray water and your cleansing resolution onto your rug and then suck it up with a vacuum. The idea is that it sucks up all the filth and gunk from your carpet, too.