In theory, zebras use their stripes in combination with their herding and flight behavior to confuse predators. The confusion probably makes it harder for the predator (e.g., a lion) to be able to avoid a damaging kick because the stripes make it difficult to tell where one zebra starts and the other ends.
Here is a dramatization of how this might work. Or not.
And then there’s this:
I couldn’t watch it to the end. How do things turn out?