Serendipity, the accidental solution to a problem the problem-solver isn’t consciously trying to solve, is credited with some of science’s most important discoveries, from penicillin to super glue.