Starting with the same initial conditions an ideal gas expands from volume V1 to V2 in three different ways. The work done by the gas is W1 if the process is purely isothermal, W2 if purely isobaric and W3 if purely adiabatic. Then
Process - 2 Isobaric
Process - 1 Isothermal
Process - 3 Adiabatic
In a thermodynamics process, work done by the gas = Area under P-V diagram.