Understanding Isothermal And Adiabatic Processes Of Perfect Gases