FIFO (First-In, First-Out) values inventory on the assumption that the oldest stock is sold first. In rising-price conditions, FIFO leaves more recent, higher costs in closing stock and charges older, lower costs to COGS, which tends to show higher profit than weighted average.
FIFO suits businesses where physical flow really is oldest-first, such as perishables, and where lot-level cost tracking matters.