A Residential Community is a community where people are living together, sharing common resources. This can be restaurants, swimming pools or gym, but also the infrastructure: roads, plantation, electricity, water, etc.
In its modern form, a gated community is a form of residential community or housing estate containing strictly controlled entrances for pedestrians, bicycles, and automobiles, and often characterized by a closed perimeter of walls and fences. Gated communities usually consist of small residential streets and include various shared amenities. For smaller communities this may be only a park or other common area. For larger communities, it may be possible for residents to stay within the community for most daily activities. Gated communities are a type of common interest development, but are distinct from intentional communities.
Some gated communities, usually called guard-gated communities, are staffed by private security guards and are often home to high-value properties, and/or are set up as retirement villages!