Keys to understanding the ideal gas law