It’s a great addition to the compost heap though!
ETA: shouldn’t use normally edible parts to make stock. Only like the tips and tails of carrots, celery root balls, onion peels… I keep a gallon ziplock in the freezer that accumulates these as I cook other things. When it’s full I usually make chicken stock.