The lateral pterygoid muscle depresses the mandible and opens the mouth when assisted by the anterior belly of the digastric muscle and the mylohyoid muscle.