The phrase "to get good grades" means to achieve high marks or perform well in academic subjects, typically as measured by a grading system. It refers to the effort and dedication that students put into their studies with the goal of receiving high scores on exams, assignments, and other assessments.