A zoning ordinance is a legal framework established by local governments to regulate land use and development within specific areas, ensuring orderly growth and compatibility of land uses. It typically includes detailed provisions on permitted uses, building sizes, densities, and other development standards to guide urban planning and protect community welfare.