Glaucoma is a condition that damages the optic nerve located in the back of the eye, which is essential for good vision. Primary open-angle glaucoma is the most common type of glaucoma where the eye cannot drain fluid properly. It happens gradually due to pressure buildup, but it is often painless. Closed-angle glaucoma occurs when the iris is too close to the drainage angle and creates a blockage in the eye.