The vagus nerve (cranial nerve X) is involved in regulating several vital functions in mammals, including heart rate, digestion, and respiration. It innervates the heart, lungs, digestive organs, and other internal organs.