Caulk is supposed to provide a tight seal around the edge of your tub so that water cannot make its way between the edge of the tub and the wall. Over time, however, caulk cracks, peels away and loses its grip on the side of the tub. You'll need to replace old caulk to prevent water from leaking.