Fasting is important during Ramadan as Muslims believe it allows them to focus on their faith and become closer to Allah, or God. The date Eid al-Fitr falls on is decided by the cycle of the Moon.