Tax advantages of investing in real estate