This is an expression related to the loyalty program of airlines companies.
Each time you buy a ticket, they give you airmiles usually calculated on the basis of the distance you flew...
With these airmiles, once redeemed, you can get discounted or free tickets or discounts on a range of extra services
See link for an example https://www.airmiles.ca/arrow/Home