The hypoglossal nerve, the twelfth cranial nerve, arises from the medulla oblongata and controls the muscles of the tongue. It has both motor and sensory components, with connections to various brain structures and a detailed extracranial course. Clinical examination involves observing tongue movement, with lesions causing distinct deviations and paralysis indicative of their location.