The medial rectus is a muscle in the eye that plays a critical role in controlling the movement of the eyeball towards the midline of the body. It is innervated by the oculomotor nerve (cranial nerve III), allowing for precise voluntary eye movements as part of sensory perception.