Real estates

What factors affect the value of real estate over time? What is the relationship between risk and return when investing in properties in certain areas?