During a fire-piston demonstration, a piston is swiftly driven down into a sealed cylinder containing a small piece of tinder. The rapid compression of the trapped air ignites the tinder.
Explain, in terms of work done and the motion of gas molecules, why this rapid compression causes the temperature of the air inside the cylinder to rise.