People form an impression of you in class
Your professor and your fellow students will respond to you and perhaps judge you by how you act in your classes. If you’re late all the time or if you don’t go to class, they notice. They also notice if you come prepared for class, or slink to the back of the room to sit, pay attention, ask thoughtful questions or doze off or spend the class texting.