The knights in the feudal era were warriors on horseback who served the king or another feudal lord.
The gentleman was usually a man of noble birth, before he had to be a squire and then was promoted in a ceremony by his superiors
Thus, the knights are part of the group of Vasallos of the feudal era, their main function was to protect the king, the barons and their lands
I hope it help you