A commodity is any standardized product or raw material used as an investment vehicle. It is bought and sold in large quantities and is used to diversify a portfolio. It can include precious metals, agricultural products, and energy sources such as oil and natural gas.