Minor correction: Predators like lions have no problem distinguishing individual members of a herd. The stripes pattern messes with the way blood-sucking, disease-spreading flies (such as horse flies or tsetse flies) see the world.
https://motherboard.vice.com/en_us/article/kbzwpv/the-reason...