its to celebrate the end of ramadan, the fasting month. during this time people go to other peoples houses and have food and give food and invite people. its kind of like christmas.
In Islam two annual occasions are celebrated as Id. They are the occasion of end of Ramadan (the month of fasting) and Hajj (or Islam Pilgrim) days.