Taharah (purity) is the key to prayer. The details of wudu and ghusl come in the Quran briefly but comprehensively: Al-Ma'idah 5:6 mentions the parts of wudu, the ghusl of janabah and tayammum all together, and An-Nisa 4:43 forbids approaching prayer in the state of janabah. The remaining details, such as the Sunnah method of wudu and ghusl and the things that break wudu, are known from the Sunnah of the Prophet ﷺ.
This page gathers the Quran verses about wudu and ghusl under headings: the command of wudu, the ghusl of janabah and tayammum, purity after menstruation, water that purifies, the virtue of those who keep pure, general purity, that is, the purity of clothes and of the House of Allah, and the purity of the Quran. Where the imams differ on fiqh details, this is briefly pointed out.