A shower liner is a waterproof layer that goes inside the tub and behind the shower curtain. It helps to keep water inside the shower area and prevent leaks.