Air expands on heating

Air expands on heating. Why does this happen? It is because the particles of air on becoming warm, move away from each other and take up more space. So we can say that air on becoming hot occupies more space