3-axis machining centers move a part in two directions (X and Y), and the tool moves up and down (Z).