Prayer is done to honour God, so it is important to be clean before praying.
Most mosques have a place to wash.
As a result, before each of the daily prayers, everyone must wash according to tradition.
This washing is called wudu.
During wudu, each part of the body is washed in an allotted order.