Stocks are primarily bought and sold on stock exchanges, although they are also sold privately and form the basis of many individual investors’ portfolios. These transactions have to comply with government regulations that are intended to protect investors from fraudulent practices.