What happens to your stock when a company goes out of business?

---You just lose out on the entire investment?

As a share holder, you might be lucky to get a few cents on the dollar. Stock holders are the last paid after other debts are paid.