Sliding filament mechanism is a theory devised in order to understand the motion of muscles during contraction and relaxation. As the muscles contract, the muscle fibers generate tension which is due to the action of a globular protein actin and the ATP dependent protein myosin in the cross bridging cycle.
The result of cross bridging cycle is possible through the excitation-contraction coupling that allows the conversion of electrical impulses (in the form of action potential) into mechanical responses. These mechanical responses are the force that are produced and eventually movement or contraction.
The force that was created is due to the complex biochemical reaction of combination of actin, myosin and ATP in order to produce energy (or force), ADP and an inorganic phosphate.