The packing of spheres so as to occupy the minimum amount of space. In a single plane, each sphere is surrounded by six close neighbours in a hexagonal arrangement. The spheres in the second plane fit into depressions in the first layer, and so on. Each sphere has 12 other touching spheres. There are two types of close packing. In hexagonal close packing the spheres in the third layer are directly over those in the first, etc., and the arrangement of planes is ABAB… In cubic close packing the spheres in the third layer occupy a different set of depressions than those in the first. The arrangement is ABCABC… Close packing occurs when the maximum possible fraction of a space is occupied by equal spheres, with this fraction being. See also cubic crystal.
https://www.chemtube3d.com/_ccpfinal/ An interactive version of cubic close-packing
http://mathworld.wolfram.com/HexagonalClosePacking.html An interactive version of hexagonal close packing