The medial pectoral nerves arise from the medial cord of the brachial plexus, containing fibers of C8 and T1 spinal nerves. This nerve provides motor innervation to the pectoralis minor muscle and the lower sternocostal part of the pectoralis major muscle.