Vinegar is what gives pickles their classic tangy, sour flavor and crunchy texture.