The edges of the room take the most abuse, and so those are often the first to fail. A frayed carpet edge repair re-bind the edge and that's why it stops unraveling. Where rooms meet, carpet threshold repair, doorway carpet repair, and transition repair re-secure the edge against the doorway.