Oculomotor palsy is a condition that affects the oculomotor nerve, resulting in weakness or paralysis of the muscles that control eye movement and pupil function. This causes difficulty moving the eye in certain directions and may affect eyelid elevation and pupil response.