Urban air quality is increasingly becoming a cause for concern for the health of the human population. The poor air quality is already wreaking havoc in major cities of the world, where serious health issues and reduction of average human life by a factor of years are reported. The air quality in developing countries can become worse as they undergo development. The urban air quality varies non-linearly depending upon the various factors such as land use, industrialization, waste disposal, traffic volume, etc. To address this problem, it is necessary to look at the plethora of available literature from multiple perspectives such as types and sources of pollutants, meteorology, urban mobility, urban planning and development, health care, economics, etc. In this paper, we provide a comprehensive survey of the state-of-the-art in urban air quality. We first review the fundamental background on air quality and present the emerging landscape of urban air quality. We then explore the available literature from multiple urban air quality measurement projects and provides the insights uncovered in them. We then take a look at the sources that are significantly contributing to polluting the air quality. Finally, we highlight open issues and research challenges in dealing with urban air pollution.