The arrangement of spheres in a given space. The topic is of relevance to crystal structure, as atoms and ions can frequently be regarded as hard spheres. In many metals and ionic crystals there is close packing, but other types of packing occur in crystals. In chemistry the problem of packing of spheres of unequal sizes often needs to be considered.