Stocks are a way for businesses to gain capital by selling off fractions of ownership in the company. I bet Wikipedia could give you a better idea of exactly how it works than myself, since I'm a computer science major, not finance.

Apparently though, if you work at a company long enough they might give you stock options, i.e. you can buy up to X number of shares for a fixed price for Y years. So say you get options to buy 200 shares at $5, then 5 or 6 years later the stocks rise to $10, you could put in a transaction for any number of shares (up to 200) to buy and then immediately sell, with no risk or even cash down.
Apparently stock options are the way to go.

But you have to work a while at a company before they're likely to give them to you.