Six atoms or ions form an octahedron and surround an octahedral hole.

Four atoms or ions form a tetrahedron and surround a tetrahedral hole.