A chain of command is necessary to keep order and control. If there was no chain of command, workers would do as they wanted, with no one responsible for what went on.
A chain of command clearly lays out the responsibility and authority of an organization. There should be no doubt in anyone's minds as to who they report to and who is in charge.