What is the primary function of motor neurons?

A. Detecting external stimuli and converting them into neural impulses
B. Supporting neurons through talk therapy.
C. Maintaining homeostasis within the brain
D. Acting as messengers from the brain to the body, conducting impulses to stimulate muscles or glands