Inaccurate Animation

The strangest thing is happening to me, I’m working on an animation however although I am setting keyframes from point A to point B when I play the animation its going from A to B but in a somewhat arc motion?

Should probably have posted in the animation forum and with some more details. It could be as smpleas the interpolation type. Still need help with it?