Why is departmental accounting important to management? What is the primary purpose of manufacturing accounting?

Why is departmental accounting important to management?
What is the primary purpose of manufacturing accounting?