If you are not familiar with these words, these are actually theories created by Ferdinand Tonnies who is a German sociologist. Gemeinschaft describes how the things that people do are usually related to the social community that they live in and they do not base the things that they do on what they truly want.
Gesellschaft is a type of society wherein people are celebrated for having their own identity and for following the things that they want for themselves. They do not pay too much attention to what the rest of society would expect them to be. For Gemeinschaft communities, they pay a lot of attention to their families while in Gesselchaft, they base what they do on the type of education that they have received and their work.