The Latin word grex "flock," from which gregarious is derived, is also the source of English aggregate, congregate, and egregious.