A batch is a specific quantity of a product manufactured under the same conditions. The batch number, which is assigned by the manufacturer, serves to document the manufacturing process and the raw materials used. In this way, products can be identified that were manufactured using the same production process. In the event of manufacturing errors, the batch number is important for identifying and recalling affected products. Batch traceability is required by law, especially for food and medical products, to ensure consumer safety.