If you want to answer in a very simple term then boats are made to sail in safe places. In other words, boats can be used in rivers, back waters and sea but ships are made for heavier circumstances like traveling in the ocean.
You never know when the weather gets stormy or unfavorable in the ocean so it's made for more security and better experiences.