The comparison with real estate is very easy to make. A dedicated hosting is like renting an apartment. You can have access to water, electricity, gas and other resources in the apartment without sharing them with others. Shared hosting is more like having roommates. You share these services with other individuals.