A warehouse is a building for storing goods. Warehouses are used by manufacturers, importers, exporters, wholesalers, transport businesses, customs, etc. They are usually large plain buildings in industrial parks on the outskirts of cities, towns, or villages.
Warehouses usually have loading docks to load and unload goods from trucks. Sometimes warehouses are designed for the loading and unloading of goods directly from railways, airports, or seaports. They often have cranes and forklifts for moving goods, which are usually placed on ISO standard pallets and then loaded into pallet racks. Stored goods can include any raw materials, packing materials, spare parts, components, or finished goods associated with agriculture, manufacturing, and production. In India and Hong Kong, a warehouse may be referred to as a "godown". There are also godowns in the Shanghai Bund.
A warehouse can be defined functionally as a building in which to store bulk produce or goods (wares) for commercial purposes. The built form of warehouse structures throughout time depends on many contexts: materials, technologies, sites, and cultures.
In this sense, the warehouse postdates the need for communal or state-based mass storage of surplus food. Prehistoric civilizations relied on family- or community-owned storage pits, or 'palace' storerooms, such as at Knossos, to protect surplus food. The archaeologist Colin Renfrew argued that gathering and storing agricultural surpluses in Bronze Age Minoan 'palaces' was a critical ingredient in the formation of proto-state power.
The need for warehouses developed in societies in which trade reached a critical mass requiring storage at some point in the exchange process. This was highly evident in ancient Rome, where the horreum (pl. horrea) became a standard building form. The most studied examples are in Ostia, the port city that served Rome. The Horrea Galbae, a warehouse complex on the road towards Ostia, demonstrates that these buildings could be substantial, even by modern standards.