In this matrix diagram, it has been shown how to create a hierarchy when multiple projects are ongoing in an organization and various teams are working on it. It can be challenging to manage, but it is not that difficult to achieve with a bit of planning. A project manager works under the CEO along with team managers. A project manager looks after different projects where multiple people are working who report to their respective team managers. These team managers are aligned with the project manager, and all of them work under the CEO. It is how it works in such a scheme of things.