When you add fillings to a frittata, they need to be cooked. They will not fully cook when they are baked in the eggs. For instance, you can eat mushrooms raw, but they will be much more flavorful if you sauté them first.