If you sharpen a knife while holding it in your hand, the blade will become curved.
Here is a tool that allows you to achieve a smooth and straight cutting edge by moving the knife back and forth on the sharpening stan