departments of an organization may be formed on different basis.By keeping this point in view,explain the different types of department.​