In Lent, or fasting Islam means to refrain from eating and drinking as well as any acts which could cancel the fast, from sunset hinggalah dawn, to increase the devotion to the Almighty GOD.
Fasting is one of the five Pillars of Islam. There are obligatory fasting and fasting Sunnah, but how remains the same.
Fasting command from GOD contained in the Quran in surah Al-Baqarah verse 183.
"Yaa ayyuhaladziina aamanuu kutiba alaikumus siyaamu kamaa kutiba 'alalladziina min qablikum He allakum tataquun"
"O those who believe, have been obliged to fast for you as have been required to top the nations which were before you, you may become pious people."
Fasting is a desire to resist the urge, the desire to run a desire GOD contained in the Quraan. so it is more optimal in conducting worship.
Fasting can also mean keeping the jobs that could void the fasting such as eating, drinking and having sex on throughout the day (from dawn until sundown. Fasting obligatory upon a Muslim who Baligh, intelligent, clean from haidl and parturition, with the intention sincere solely because God ta'aala.
Definition of fasting were taken from various sources. Hope can be useful, Thank you.