Illustration with origin, course, and insertion of the jaw and mastication muscles. Red: temporal muscle, green: masseter muscle, yellow: pterygoid muscle. The more colored lines show the main direction of the muscle. These muscles insert into the mandible and are responsible for the act of mastication. They are innervated by the motor part of the trigeminal nerve.