D

The hypoglossal nerve (cranial nerve XII) provides the motor supply to all intrinsic and extrinsic muscles of the tongue (except the palatoglossus, which receives vagal fibers) [Guarnizo 2020, PMID 31034896]. Hence, option D is correct; the other listed nerves convey only sensory or taste fibers to the tongue.