A container is a basic tool, consisting of any device creating a partially or fully enclosed space that can be used to contain, store, and transport objects or materials. In commerce, it includes "any receptacle or enclosure for holding a product used in packaging and shipping." Things kept inside of a container are protected by being inside of its structure. The term is most frequently applied to devices made from materials that are durable and at least partly rigid.
Humans have used containers for at least 100,000 years, and possibly for millions of years. The first containers were probably invented for storing food, allowing early humans to preserve more of their food for a longer time, to carry it more easily, and to protect it from other animals. The development of food storage containers was "of immense importance to the evolving human populations", and "was a totally innovative behavior" not seen in other primates. The earliest containers were probably objects found in nature such as hollow gourds, of which primitive examples have been found in cultures such as those of the Tharu people, and native Hawaiian people. These were followed by woven baskets, carved wood, and pottery.
Containers thereafter continued to develop along with related advances in human technology, and with the development of new materials and new means of manufacture. Early glass bottles were produced by the Phoenicians; specimens of Phoenician translucent and transparent glass bottles have been found in Cyprus and Rhodes generally varying in length from three to six inches. These Phoenician examples from the first millennium BC were thought to have been used to contain perfume. The Romans learned glass-making from the Phoenicians and produced many extant examples of fine glass bottles, mostly relatively small. By the beginning of the eighteenth century, sizes for retail containers such as glass bottles had become standardized for their markets.