The term that best describes the extending and flexing of muscle joints would be a muscle contraction. In addition, this specific form of body movement mainly emphasizes the production of muscle tension in the muscle fibers when we do strenuous activities like weights and exercise.
hope it helps