How to cook, freeze or pickle plant scraps instead of throwing them away

Many of the scraps that people throw away from garden vegetables are actually edible