it's important to keep food safety in mind when storing vegetables (such as garlic, mushrooms, chili peppers) or herbs in oil. these low-acid foods can be a source of clostridium botulinum bacteria, which are found in soil, water, and air. oil's oxygen-free environment is perfect for growth of the bacteria.