The earth which i think you are refering to as the world is spherical in shape, and it is not flat, if the earth was flat, there would have been and end, where ship who travel will fall, but because of it's spherical nature, ships circumnavigate the earth.