Simple terms, it takes air in, compresses it, adds some fuel, ignites it, the resultant expansion of this gas then allows Newton's Third Law to become apparent as it leaves via the back and some of the energy is also tapped off for various other useful services along the length of the cycle. Crude answer, but brief.