The goal of QA is to reduce or avoid errors or defective products being delivered to the customer, and is to set standards of quality for all stages, beginning with the raw materials, throughout the delivery of the product to the customer.
This covers all activities from design to documentation. It also includes the regulation of the quality of raw materials, assemblies, products and components, services related to production, and management and inspection processes.