Question: when is work done on a system?
Answer: If system volume expands against a force, work is done by the system. If system volume contracts under a force, work is done on the system.