The washing machine is composed of five main parts: the agitator, the drum, the water inlet and outlet, the control panel, and the drain. The agitator is responsible for stirring the clothes around so that they can get clean. The drum helps to wash the clothes by moving them around in the water. The water inlet and outlet allow you to supply water to the machine and take it away after it has been used, respectively. The control panel allows you to set different washing cycles and settings, while the drain helps to remove dirty water from the machine.
If your washing machine is jammed, leaking water, or not spinning, there are a few things you can do to fix it. Check the water level and make sure the hoses and tubes are connected correctly. If the machine is leaking water, replace the seals around the base of the hose. If the machine is not spinning, check to see if there is something caught in the clothes drum. Remove anything that may be blocking the gears. Once you have ruled out any mechanical issues, try cleaning the washer using mild detergent and cold water. If that does not fix it, consider having a professional repair it.