Cost accounting is the process of accounting for costs from when they are incurred until their relationship to cost centers and cost units is established. It involves preparing statistical data, applying cost control methods, and determining the profitability of activities. Cost accounting reveals profitable and unprofitable activities, helps with cost control using techniques like standard costing and budgetary control, aids decision making, assists with inventory control, helps reduce costs, and aids in formulating policies. It is important for management, workers, and creditors.