Ending inventory refers to the sellable inventory you have left over at the end of your accounting period.
Beginning inventory + new purchases - cost of goods sold (COGS) = ending inventory
If you start the month with $800 worth of inventory and sell $500 worth of stock, your ending inventory would be $300