Urban planning is the process of designing and regulating the use of spaces within a city to ensure sustainable development, efficient infrastructure, and improved quality of life for its inhabitants. It involves balancing social, economic, and environmental needs through strategic land use, transportation planning, and public space management.