Air is a mixture and not a compound because:
1. Air can be separated by physical means which isn't possible in compounds.
2. Air is heterogenous, as its composition varies from time to time.
3. Air can be prepared by mixing gases in a proportion which is present at a place. This is a physical process as there is no energy being formed.