Both airguns have a lever you cock once to drive a piston back. The piston will lock in place, and it will be released when you pull the trigger. ... It's the motion of the spring resuming its original shape that drives the piston forward. Not all gas rams use the same gas, but they all operate on the same basic principle.