Bob writes program X that does function Z. He gives copies of the source code to Frank and Joe. They make improvements and send copies back to Bob and to two other guys. This continues for a while, and before you know it, Bob's program is infinitely better than Bill's program. (Bill kept his program all to himself and made people pay to use it.) The result is low cost, high quality software for everyone. Yay!