The Prophet ﷺ said: Prayer is not accepted without purification. Narrated by Muslim. Purification is the door of the prayer.
The obligatory acts of wudu according to the majority: washing the face, washing the arms to the elbows, wiping the head, and washing the feet to the ankles, with intention, and with order in the Shafi'i school.
Wudu is broken by what exits from the private parts, by sleep that removes awareness (with the well-known details), and by eating camel meat according to those who hold that, such as the Hanbalis.
Ghusl is required after janabah, menses and nifas. Tayammum is a concession when water is unavailable or harmful: striking the earth and wiping the face and hands.
Ask an imam for the details of menses and ghusl; the branches are precise and this is only an introduction.