To "attend" something means to go to it. For example, you "attend" classes, meetings, and so on.
In school, teachers sometimes "take attendance". This means that they write down who's in class and who's missing. They often do this at the beginning of class, before they start teaching.