Last in, first out (LIFO) is a method used to account for inventory that records the most recently produced items as sold first.