A community is smaller than a society. It is part of the society. The whole world is one Society but a community can be defined by a group of people or even animals that stay in the same community and share the same characteristics. African community is part of the world society for example.