Due to the current COVID-19 pandemic, guaranteeing thermal comfort and low CO2 levels in classrooms through efficient ventilation has become vitally important. This study presents three-dimensional simulations based on computational fluid dynamics of airflow inside an air-conditioned classroom located in Veracruz, Mexico. The analysis included various positions of an air extractor, Reynolds numbers up to 3.5 × 104, four different concentrations of pollutant sources, and three different times of the day. The simulations produced velocity, air temperature, and CO2 concentrations fields, and we calculated average air temperatures, average CO2 concentrations, and overall ventilation effectiveness. Our results revealed an optimal extractor position and Reynolds number conducive to thermal comfort and low CO2 levels due to an adequate ventilation configuration. At high pollutant concentrations, it is necessary to reduce the number of students in the classroom to achieve safe CO2 levels.