A stock, or share, represents part-ownership of a company. If the company grows and earns more, the share can become more valuable, and some companies pay part of their profits out as dividends.
Shareholders are paid last if a company fails, so shares are typically riskier than bonds from the same company, with higher potential long-term returns to compensate.