The electroretinogram (ERG) measures the electrical activity of the retina in response to light stimulation. It provides objective assessment of overall retinal function. The ERG response has different components - a-wave from photoreceptors, b-wave from bipolar and Muller cells. ERG is used to diagnose retinal diseases like retinitis pigmentosa and macular degeneration. It helps evaluate progression of retinal degenerations and assists in determining retinal involvement in visual complaints. Factors like pupil size, age, light/dark adaptation influence the ERG response which needs clinical correlation for interpretation.