How does air affect paint drying?

The air affect paint drying because if its warm outside then the paint will be faster to dry and if its cold it will take long to dry! its the same thing with air too.