Bubbles are just naturally formed, however Mrs. James MacNaughton of Pnenix invented harmless bubbles as "toys". She invented them to please her sick child when they were poisoned by soap bubbles. She made some that were harmless, and science took them up. They are now used in games, performances, and kindergarten exercises. The nytimes.com has the whole story.