Stocks, ETFs, and mutual funds are types of securities, but they differ in terms of risk, costs, tax efficiency, and how you buy and sell them.