Airlines use various methods to track passengers, such as the barcode or QR code on your boarding pass. Scanning your boarding pass at security checkpoints allows the airline to track your progress throughout the airport.