Muslims pray during Eid al-Fitr. Photo: Stock.

Muslims around the world are preparing to celebrate Eid al-Fitr 2019 as the holy month of Ramadan comes to a close.

Eid is not on a fixed date, but is dependent on the sighting of a new moon - marking the end of Ramadan and the start of the Islamic month Shawwal.

Local sightings of the moon can differ, which is why there can be discrepancies between the days different countries start and end their fast.

Sightings have now been made in Mecca, Saudi Arabia, where Islam's holiest mosque is.

Eid is celebrated by family and friends getting together and many will also attend special Eid prayers in the morning.

It is traditional for people to wear new clothes, in particular children, and for loved ones and neighbours to visit each other to exchange good wishes.

The most common greeting to say to Muslims is Eid Mubarak.

Ramadan is the ninth month in the Islamic calendar, which is determined by the lunar cycle.

When it starts is based on the sighting of the new moon, which marks the beginning of the month.

If the new moon (hilal) is spotted, fasting begins the following day.

Similarly when determining the last day of Ramadan, if the new moon is sighted the holy month is complete and Eid is celebrated the following day.

People gather to celebrate the Muslim festival of Eid al-fitr, marking the end of Ramadan.

People gather for the first annual celebration in Trafalgar Square of the Muslim festival of Eid ul-fitr marking the end of Ramadan

During the holy month, Muslims do not eat or drink each day during daylight hours, but can feast once the sun has gone down.

Fasting, or 'sawm' as it's known in Arabic, is one of the five pillars of Islam and a very spiritual time for Muslims all around the world.

It's not only about fasting, but also about dedicating time to religion.

Muslims use this month to try and re-focus their attention on being calm, patient, kind and to give to charity.

Families and friends break the fast together every day with a big meal known as 'iftar'.

Tonight's iftar will be extra special as it will be the last - until next year.