A boiling water bath only reaches about 100 °C, which is enough for acidic preserves (acidified tomato, jams, pickles). Low-acid ones, such as plain vegetables, pulses or mushrooms, need about 115-121 °C to destroy botulism spores, and that can only be achieved under pressure.
An ordinary kitchen pressure cooker is no substitute for a pressure canner: it has no pressure gauge and does not hold the pressure and temperature steady for the time required.

