The city may acquire, construct, and maintain, by condemnation or otherwise, inside or outside the city limits, public ways, parks, public grounds, cemeteries, markets, market houses, public buildings, libraries, sewers, drains, sewage treatment or waterworks systems, electrical or gas systems, airports, hospitals, and charitable, educational, flood control, recreational, sport, curative, corrective, detention, penal, and medical institutions, areas, and facilities, and any other public improvements. The city, by ordinance, may establish and enforce rules and regulations necessary to preserve order, peace, and dignity on any property or facilities so acquired.