Muslims fast during Ramadan, the ninth month of the Islamic calendar, because God made it a duty on them. The aim, according to the Quran, is to become more mindful of God and to grow in self-control and gratitude.
The fuller answer
From dawn until sunset, a fasting Muslim does not eat, drink or have marital relations. The fast also teaches the person to avoid lying, anger and gossip. At sunset, they break the fast with dates and water and share meals with family and neighbours. Special night prayers called Taraweeh are prayed in the mosques, and Muslims recite more Quran, because it was first revealed in this month.
Fasting teaches empathy for the hungry and gratitude for everything we normally take for granted. Children, the sick, travellers, the elderly, and women who are pregnant, nursing or menstruating are excused or may make up the days. Ramadan ends with the festival of Eid al-Fitr, with a special prayer, charity and a family feast.
The month of Ramadhan [is that] in which was revealed the Qur'an, a guidance for the people and clear proofs of guidance and criterion. So whoever sights [the new moon of] the month, let him fast it; and whoever is ill or on a journey - then an equal number of other days. Allah intends for you ease and does not intend for you hardship and [wants] for you to complete the period and to glorify Allah for that [to] which He has guided you; and perhaps you will be grateful.
[Fasting for] a limited number of days. So whoever among you is ill or on a journey [during them] - then an equal number of days [are to be made up]. And upon those who are able [to fast, but with hardship] - a ransom [as substitute] of feeding a poor person [each day]. And whoever volunteers excess - it is better for him. But to fast is best for you, if you only knew.
This answer follows the mainstream Sunni understanding and is general learning, not a fatwa. Where Muslims differ, the answer says so. Have a question of your own? Write to us.