The study of the structure of crystals, including their symmetry, packing, and crystal plane orientation.