Profit risk in real estate sector

Is real estate investment is profitable investment in all respects or not ?