A company divides its ownership into many equal shares. When you buy one, you own a small slice of the company and share in its fortunes, through the share price and any dividends.
Shareholders do not run the business day to day. They can vote on major decisions, and the company's board answers to them.
Related terms: Dividend, Demat account, Face value, Market capitalisation.