Ships have a rather militaristic organization structure going in "chain of command" principle, or in other words linear command. On merchant ships and big cruisers this organization is quite rigidly followed due to conservative habits and on the latter due to the size of crews in order to be able to retain control.
Example of organisation flowchart