Binding tape is used to cover the raw edges of the carpet and prevent it from fraying. By applying the tape along the edge of the carpet, it creates a seal that stops the fibers from coming loose and causing further damage to the carpet.