Refers to a fellow student in the same class or grade at school. Slightly more formal than クラスメート.
He is a classmate from my high school days.
I like studying with my classmates.
I reunited with a classmate after ten years.
I invited an old classmate to my wedding.