Here are some related words.
- (같은) 반 친구 = classmate (a friend who's currently in the same class).
- (같은) 하교 친구 = schoolmate (a friend who goes to the same school).
- 동급생 = a friend who's in the same grade(급) of school (usually but not always in the same school).
- 동문 = alumnni (those who graduate from the same school but not in the same year).
- 동창생 (or 동창) = 1) 동문, 2) old classmate (alumnus who graduate in the same year).
We use 동창생 to refer to a friend(s) from the school a person graduated from, not one they are currently attending.
Similarly 동문 refers to graduates of the school, not including the current students.
Examples:
- 그 친구와 난 고등하교 동창(생)이다 = He and I went to the same high school (we both have already graduated).
- 대학 동문들은 사회 각 분야에 진출해 있다 = Graduates of my alma mater are now working in all sectors of society.