Train tickets are typically scanned using a barcode reader or a magnetic stripe reader. The barcode or magnetic stripe contains information about the ticket, such as the type of ticket, the date and time of travel, and the route.