While some mushrooms can be eaten raw, like button, oyster, and shiitake mushrooms, others should be cooked to break down the potentially harmful compounds they contain. Cooking mushrooms can also make some nutrients more available for absorption.