First prep all your veggies (onion, carrot, cabbage, celery and garlic). Wash/rinse them well. Then chop them roughly into big chunks.
Making vegetable broth recipe or vegetable stock recipe:
Now take a big saucepan or pot. Add water, all the chopped vegetables and whole spices.
Turn the heat on high and bring it to a boil.
Once it comes to a boil, lower the heat to low-medium or keep it on gentle simmer. Gentle simmer meaning the surface of the water should just barely be bubbling.
Let it simmer for 30-40 minutes.
After that turn off the stove.
Now using the strainer, strain the broth/stock.
Discard all the veggies (those do not have any flavor left). Or you can compost them.