What is the difference between primary and secondary groups?

What is the difference between primary and secondary groups?