Fasting from dawn until sunset in Ramadan is one of the five pillars of Islam and is intended to help teach Muslims self-discipline, self-restraint and generosity. The month-long fasting ends on Id-ul-Fitr celebrations.