Distinguish between the control purpose and the product-costing

Distinguish between the control purpose and the product-costing purpose of standard costing and flexible budgeting.