Under Quality assurance, it includes the quality inspection.
A Quality inspection involves someone from the quality department inspects an item as per defined points in inspection plan. You perform the inspection based on one or more inspection lots, where a lot is a request to inspect a specific item.
In SAP system, you can create Inspection lot either manually by a user or automatically in the system.