The study provides an overview of the comprehensive exploration of smart cities and their integration of artificial intelligence (AI) for urban sustainability. It covers the definition of smart cities, the importance of AI, key challenges and opportunities, foundational aspects of AI, sustainable infrastructure development, enhancing public services, data governance, citizen engagement, economic development, policy frameworks, future trends, case studies, and conclusions. The study demonstrated that AI assist in surveillance and mitigating environmental threats, such as deforestation, environment destruction, and contamination. Citizen engagement additionally promotes transparency and responsibility, encouraging residents to hold federal government agencies and other stakeholders accountable for their information techniques. The chapter encapsulates the breadth and depth of the discussion within the provided chapter layout, offering insights into the transformative potential of AI in shaping sustainable and inclusive smart cities.