A small rug used for a specific purpose, e.g. a door mat collects dirt from shoes, a bath mat absorbs splashed water… The fabric should, of course, be fit for purpose, so a bath mat is likely to be in cotton, which absorbs moisture but is easy to launder, and a door mat in coir or woven plastic, something that will easily shake out or vacuum.