A (Very) Short Course in Internal Ballistics
Internal ballistics, or the science of what goes on inside of the gun, is a very complicated topic. This link is not designed to give you a degree in the field but rather to provide some background data to help you understand the subject.
http://www.frfrogspad.com/intballi.htm