but the truth is that cooking in microwaves is not only perfectly safe, it is one of the best ways to cook vegetables to preserve their nutrients. when it comes to cooking vegetables, exposure to heat causes the breakdown of some nutrients, such as vitamin c.