This all breaks down to movement of the machining center. Think about cartesian coordinates. The x-axis is one axis, y-axis another, and z-axis another. That makes three axes. This is the most common situation. A machine that moves along the X, Y, and Z axes is generally a three axis machine.
Now lets talk about exceptions. A machine that can move in three axes but only two simultaneously, lets say x and y in this case, is considered a 2.5 axes machine. Again, technically three axes, but only two can be utilized at one time.
There are also four and five axis machines.
A four axis machine generally has X, Y and Z axes and a rotary axis usually called the 'C-axis'.
Here again, some machines can move in all four axes simultaneously and are true 4-axis machines.
Three axis machines are sometimes retrofitted with a rotary c-axis and are usually considered 3.5 axis machines because the 4th axis cannot move simultaneously with the other three axes.
This same situation exists for five axis machines. Some are true 5 axis machines. These are often used for very complex work such as impeller manufacturing and other areas of pump design. There are also 4.5 axis machines that have a axis added that are not part of the original design intent of the machine.
One more thing. Lathes are generally 2-axis machines, X and Z. Z-axis is parallel to the axis of rotation and X-axis is perpendicular.
Hope this helps