Yes. 12th-class marks are important to get admission to a foreign medical university at the undergraduate level. Most universities require the candidates to be at least 17 years old and have minimum score requirements in the 12th class.