The city shall have power and authority to rent, lease, buy, sell, or otherwise hold or to dispose of any or all of its buildings, and parks or other real estate for a fair and adequate consideration, in or outside the city limits.