What is Work?
Work
is a force F acting through a displacement x, in the direction of the force.

Compression or expansion of gas (or liquid)
Since F = PA, work can be expressed in terms of pressure and area:

This equation is based on a mechanical definition of work. However, we need a broader definition of work that will allow us to understand other forms of work.