Chivalry refers to the code of conduct associated with the medieval institution of knighthood, emphasizing values such as bravery, honor, loyalty, and respect for women. This idealized code became a cultural cornerstone in medieval literature, influencing narratives of heroism and courtly love, and shaping social interactions and expectations among nobility.