In the United States, an exchange-traded fund (ETF) and a mutual fund are both registered investment companies that pool money into a basket of stocks or bonds. The difference is mostly plumbing. ETF shares trade on an exchange all day at a market price, so you need a brokerage account and you pay or receive whatever the market offers. Mutual fund shares are bought from, and sold back to, the fund company at one price a day, the net asset value (NAV), struck after the market closes.
The question most U.S. investors really face is not “which wrapper is better” but “which specific fund, in which account, at what cost.” An S&P 500 index mutual fund and an S&P 500 ETF hold nearly the same stocks. A high-turnover active mutual fund is a different product altogether. Keep that distinction in mind when you read any average below.