What are the advantages of investing in ETFs over mutual funds?

Why might an investor choose ETFs instead of mutual funds for building a diversified portfolio?