Answer:
When bones attached to a muscle are connected by a flexible joint, contraction of the muscle moves the skeleton. The muscle is called a flexor if the centers of the connected bones are brought closer together when the muscle contracts, and the movement is called flexion. (Biceps)
The muscle is called an extensor if the bones move away from each other when the muscle contracts, and the movement is called extension. (Triceps)