This is a type of ship called an ocean liner.  At one time, they had a practical use as transportation.  Today, that role is largely supplanted by airplanes, and humans ride in ocean liners as a form of entertainment.