You can use product "options" to add variants of your product with different attributes like size or color. Each additional option that is added creates a separate variant. Customers will be able to choose between product options using drop-down menus at checkout.
Each variant can have a different price associated with it. You can also manage the inventory of each variant by going to the "Inventory" tab.