The markets and means of shipping cargo by maritime transportation are the outcome of a specialization. While historically cargo was mainly carried in breakbulk and limited quantities, the onset of the 20th century led to a surge in the trade of raw materials carried in bulk, particularly mining and energy products. Ports have adapted with the setting of a multiplicity of terminals designed to handle single commodities.