The basic principle behind a steam engine revolves with utilizing the growing force of steam to produce mechanical effort. Initially, water is heated, typically using coal, resulting in its conversion into steam. This steam, now possessing considerable pressure, is then directed into a cylinder, where it pushes a piston. The linear movement of the