The ship’s steam whistle was powered by a steam line from the boiler. It was used to signal other ships or the shore, to let them know of its presence or its intentions. It was especially useful when approaching or leaving port, or in foggy or dark waters.