The work done by the gas during an expansion is maximum in an adiabatic process. In an adiabatic process, there is no heat exchange with the surroundings, and all the energy change goes into doing work, which maximizes the work done.
Thus, the correct answer is:
\[
\boxed{\text{Adiabatic expansion}}
\]