What's the difference between extension and a dorsiflexion?

Extend vs contract. Extension means to push outward, an extended arm is straight and a flexed arm is pulled inward toward the body such as bending your arm at the elbow is flexion.