Similar to a spring gun in function, without the mainspring. A gas ram is a gas strut placed in the compression chamber of the rifle. Behind the piston is compressed air. When the airgun is cocked, the air is further compressed. When the airgun is fired the air expands and pushes the piston forward, compressing the air in front of the piston and thus fires the pellet.