Ridge capping seals roof ridges, preventing water from entering the structure.