The oculomotor nerve arises from nuclei in the midbrain and controls most eye movements and the constriction of pupils. It has superior and inferior branches that innervate specific extraocular muscles. Damage to the oculomotor nerve can be detected by observing eye movements and pupils in response to light during a clinical examination.