Inventory tracking is very simple!
In your store management area, go to Products and click on a product you want to edit
Scroll down a bit and toggle the Track quantity button to enable inventory tracking
Specify the stock quantity:
The amount will be automatically reduced on every sale. If the maximum quantity is reached, a client won't be able to add the product to the cart.