Here's a breakdown:
* Root: "greg" - This comes from the Latin word "grex," meaning "flock" or "herd."
* Suffix: "-arious" - This is a Latin suffix that means "pertaining to" or "characterized by."
So, while "gregarious" doesn't have separate identifiable prefixes and suffixes, it's built from a Latin root and a Latin suffix that together form its meaning.