The non-ideal behavior of gases