The matrix structure groups employees by both function and product simultaneously. A matrix organization frequently uses teams of employees to accomplish work, in order to take advantage of the strengths, as well as make up for the weaknesses, of functional and decentralized forms. An example would be a company that produces two products, "product a" and "product b". Using the matrix structure, this company would organize functions within the company as follows: "product a" sales department, "product a" customer service department, "product a" accounting, "product b" sales department, "product b" customer service department, "product b" accounting department.