Environmental pollution is an emerging global public health problem across the world and causes serious threats to ecosystems, human health, and the planet. This study is designed to explore the impact of environmental pollution particulate matter PM2.5, PM10, carbon monoxide (CO), nitrogen dioxide (NO2), sulfur dioxide (SO2), and ozone (O3) on cognitive functions in students from schools located in or away from air-polluted areas. In this study, two schools were selected: one was located near a traffic-polluted area (school #1), and the second was in an area away from the traffic-polluted area (school #2). In this study, a total of 300 students were recruited: 150 (75 male and 75 female) students from school #1 located in a traffic-polluted area, and 150 students (75 male and 75 female) from school #2 located away from a traffic polluted area. The overall average age of students was 13.53±1.20 years. The students were selected based on age, gender, health status, height, weight, BMI, ethnicity, and homogenous socio-economic and educational status. The pollutants PM2.5, PM10, CO, NO2, O3, and SO2 were recorded in the surrounding environment. The overall mean concentration of environmental pollutants in school #1 was 35.00±0.65 and in school #2 was 29.95±0.32. The levels of airborne particles were measured, and the cognitive functions were recorded using the Cambridge Neuropsychological Test Automated Battery (CANTAB). The students performed the cognitive functions tasks, including the attention switching task (AST), choice reaction time (CRT), and motor screening task (MOT). The results revealed that the AST-Mean 928.34±182.23 vs. 483.79±146.73 (p=0.001), AST-mean congruent 889.12±197.12 vs. 473.30±120.11 (p=0.001), AST-mean in-congruent 988.98±201.27 vs. 483.87±144.57 (p=0.001), CRT-Mean 721.36±251.72 vs. 418.17±89.71 (p=0.001), and MOT-Mean 995.07±394.37 vs. 526.03±57.83 (p=0.001) were significantly delayed among the students who studied in school located in the traffic polluted area compared to students who studied in school which was located away from the traffic-polluted area. Environmental pollution was significantly higher in motor vehicle-congested areas. Cognitive functions were impaired among the students who were studying in a school located in a polluted area. The results further revealed that the students studying in schools located in environmentally polluted areas have attention, thinking, and decision-making abilities related to cognitive function impairment.