each type of crystal structure has a unit cell, which is a small pattern of points that repeats through the whole crystal. for example, in a primitive cubic crystal, the unit cell is the eight corners of a cube. when many unit cells are next to each other, you get a crystal.