Frozen peas are better than fresh ones unless you can pick them yourself and eat them within about 25 seconds. I’m exaggerating – it’s more like 2 hours but it’s silly to worry - Sweetcorn is the same. Herbs fall into this. Don’t assume dried are not as good: dried oregano has a lovely intensely lemony flavour; dried mint is beautifully sweet. Don’t start me on dried versus fresh pasta, especially when you buy the fresh stuff rather than making it yourself.