how are communities different from each other?

Wow! That's a broad topic. Differences include residents' income levels, demographics, cultural amenities, government, school systems, business districts, age of buildings, size of communities, etc., etc.