Crystallization
Crystallization is the way that atoms link up in a regular structure. The structure is held together by chemical bonds or connected groups.  Crystallization can be from a melt or from a solution, and can be natural or artificial.  Rarely, crystal can form directly from a gas. Faster crystallization makes smaller size crystals as in basalt, and slower can make bigger crystals, as in granite.