For the two-dimensional array shown in the illustration, each cell, except those on the edges, can have four neighbors: the cells directly above and below, and to the left and right. Percolation theory deals mainly with how these neighbors and clusters interact with each other, and how their density affects the particular phenomenon being studied.