ILM peeling is performed during vitrectomy using fine instruments under high magnification and illumination. It is done to relieve traction on the retina, treat conditions like macular holes and epiretinal membranes, and stimulate retinal cells for tissue repair.