Real Estate taxes are primary source of funds for the local governments. Therefore any unpaid taxes constitute a claim against the real estate, taking priority over any private liens such as mortgages. So if the taxes are not paid, government has the right to foreclose against the property.