There is a tax exemption on your first 250k of capital gains when you sell your house. The interest on your mortgage is tax deductible. If home prices increase 10% each year, then you can maximize earnings by moving to a more expensove house every few years.
In this way, your home is like a leveraged tax sheltered investment, and the limits are much higher than an IRA.