Answer:
The main reason why air is cooled before nitrogen and oxygen are obtained is because these two gases are much more soluble in cold air than in warm air. As a result, if air were not cooled before these gases were separated, they would simply mix back together again.