Wrapping the fish in foil has a similar effect to steaming as the moisture is sealed in and can't release into the oven. This method is great for certain recipes, but the lemon herb baked cod doesn't need to be wrapped in foil.