A class is a profession or vocation for a character, determining the capabilities of that character with regards to combat training, magical ability, skills, and more.
All classes from the base game are available on Sinfar, the original documentation can be found here: https://nwn.fandom.com/wiki/Category:Classes
Some of them have been slightly changed, see: Class Changes.