"O you who believe! Observing As-Saum (the fasting) is prescribed for you as it was prescribed for those before you, that you may become Al-Muttaqun (the pious)" [Al-Baqarah:183]
The last 10 days of Ramadan are to free oneself from the punishment of the hell fire. In these 10 days, Allah SWT has blessed Muslims with a special night.....
"Verily, the death from which you flee will surely meet you, then you will be sent back to (Allah), the All-Knower of the unseen and the seen, and He will tell you what you used to do." [Al-Jumu'ah:8]