An Exchange-Traded Fund, or ETF, is a security that tracks an underlying index, such as the S&P 500. ETFs can be bought and sold on an exchange, just like stocks. They are often used as a way to diversify a portfolio, since they offer exposure to a number of different stocks or assets.