The purpose of fasting is to produce a feeling of humility through thirst and hunger. Humility comes from a feeling of inabat (repentance). When repentance or inabat is produced within oneself, the dua which comes out of one’s lips, goes straight to the throne of the Almighty.