what are tetrahedral and octahedral voids?
As you see that tetrahedral voids are triangular in shape. When two such voids combine, from two different layers they form an octahedral void. So when the tetrahedral void of the first layer and the tetrahedral void of the second layer align together, they form an octahedral void.