Each parotid gland lies behind the mandibular ramus and in front of the mastoid process of the temporal bone.