The word "people" is primarily used as a noun to refer to a group of human beings, considered collectively as a community, society, or population.
For example: "The people of this town are friendly."
The word "peoples" is used when referring to multiple distinct groups or communities of human beings, often with a focus on their cultural, ethnic, or national identities.
For example: "The indigenous peoples of the Amazon rainforest have diverse languages and traditions."
In essence, "people" refers to a group of human beings as a whole, while "peoples" is used to emphasize the existence of multiple distinct groups or communities within a larger context.
https://www.edulikes.com/people/