About 1200 years ago, Chinese alchemists combined salt peter, sulfur, and charcoal in an attempt to create an elixir for eternal life. Needless to say, they failed to accomplish their goal, but they did discover something nearly as useful by accident: gunpowder. Similar stories of accidental inventions abound, from the discovery of the microwave oven to penicillin and even Viagra.