What Type of Food is a Pickle?

A typical pickle is made from cucumber and falls into the fruit category because its considered an eatable fruit. However a cumber when pickled falls into the vegetable category. So a pickle is considered a vegetable.