The rules are that one cannot eat or drink or engage in
sexual activities from the time the first light of dawn
appears in the sky until the sun sets.The significance of fasting is made very clear in the Qur'an: that it is a means of developing one's will power, a means of learning self-restraint.
The
Qur'an mentions that this was the month in which the Qur'an
was revealed to the Prophet Muhammad -- peace be upon him.

There
is a tradition started by the Prophet Muhammad -- peace
be upon him -- that when the sun would set, he would begin
by breaking the fast, by eating a few dates or taking a
small drink of water or juice. And most Muslims will now
break the fast that way.