Just like a locomotive engine, muscles can only:
pull
Muscles can only pull; they cannot push. All the movements of the limbs and some other parts of the body are done by the pulling action of muscles. Muscles work in pairs to cause a back and forth motion of the limbs. For example - biceps and triceps work in a pair to pull the arm towards and away from the body.