Basics of air-breathing and rocket engines used in flight systems