A dishwasher is a machine used to clean dishes by spraying them with hot water and detergent.