Reputation

Reputation refers to two separate concepts, popularity, and gossiping.

What's the difference?
Popularity is a mechanic in both Java Edition and Bedrock Edition. It is stored per village, and only effects Iron Golems. Gossiping is a mechanic in Java Edition. It is stored per villager, and only effects trading prices.