A warrior is a person habitually engaged in warfare. In tribal societies engaging in endemic warfare, warriors often form a caste or class of their own. In feudalism, the vassals essentially form a military or warrior class, even if in actual warfare, peasants may be called to fight as well. In some societies, warfare may be so central that the entire people (or, more often large parts of the male population) may be considered warriors, for example in the Iron Age Germanic tribes or the Medieval Rajputs.
Professional warriors are people who are paid money for engaging in military campaigns and fall into one of two categories: Soldiers, when fighting on behalf of their own state; or mercenaries, when offering their services commercially and unrelated to their own nationality. The classification of somebody who is involved in acts of violence may be a matter of perspective, and there may be disagreement whether a given person is a hooligan, gangster, terrorist, rebel, freedom fighter, mercenary or a soldier.