A gas is a collection of gasoline particles. Associated with the gas is a force. To add gas particles right-click the gas and click on "Create particles".
For details about the math used to calculate the forces, please refer to the Lennard-Jones potential.