Association rule mining (ARM) is a data mining technique used to discover relationships between variables in large databases. It finds frequent patterns, associations, correlations, or causal structures among sets of items or objects in transactional databases. ARM is commonly used in retail by analyzing customer purchase histories to find relationships between products customers buy together. The Apriori algorithm is commonly used for ARM. It generates candidate item sets and then scans the database to determine which item sets meet the minimum support and confidence thresholds.