What is the primary purpose of budgeting in management accounting?
A. To ensure compliance with tax regulations
B. To forecast future financial performance and allocate resources effectively
C. To record actual financial transactions
D. To prepare for audits