Caravanserais provided water for human and animal consumption, washing and ritual purification such as "wudu" and "ghusl". Sometimes they had elaborate public baths (hammams), or other attached amenities such as a fountain or a sabil/sebil. They also kept fodder for animals and had shops for travellers where they could acquire new supplies. In addition, some shops bought goods from the travelling merchants. Many caravanserais were also equipped with small mosques, such as the elevated examples in the Seljuk and Ottoman caravanserais in Turkey.