A possible solution to the world’s plastic pollution problem was created by accident.