What does Section 54 of the Income Tax Act say? If you make a profit by selling a house you are living in, and you invest that profit (capital gain) within a certain period to build or buy another house, you can get tax exemption on that profit. This is definitely applicable to individuals and Hindu Undivided Families.