FIFO (first-in, first-out) is the assumption that the items of inventory that were purchased or produced first are sold first, and consequently the items remaining in inventory at the end of the period are those most recently purchased or produced.
Source: IAS 2 Inventories.