It works like this. Tiny spheres of liquid are embedded in the airplane wing. If the wing gets damaged, the spheres in that location break, and the liquid inside (a carbon-based substance) spills out to fill the 'wound'. Then, other chemical catalysts in the wing harden the liquid, filling in whatever crack or damage occurred. A similar kind of capsule technology is being developed to repair cracks in concrete.