microcosm

Definition

A small, representative system having analogies to a larger system; a miniature world.

Example

"The school is a microcosm of society, reflecting its diversity and social dynamics."