An internal combustion engine is one which burns fuel in a confined space called a combustion chamber. This results in high pressure/ temperature which causes gases to expand.
This expansion is directly used to cause mechanical movement within the chamber.