He was a student.是过去时,表示过去的某个时间,他曾是一名学生,不表示他现在还是学生.
He has been a student.是现在完成时,表示他已经成为一名学生,理论上说他现在还是学生.