All washing machines have the same components: a watertight container called the tub, a drum which fits inside the tub to store the washing electronic valves that allow water into the tub; heating elements to raise the water temperature and an electric motor that is used to turn the drum;