Karnaugh Map or K-map is a systematic approach for simplifying Boolean expressions. The K map contains boxes called cells. Each cell represents one of the 2n possible terms(either product term or sum term) that can be formed from the variables. For example, for a 2 variable map, there will be 22 = 4 cells, for a 3 variable map, there will be 23 = 8 cells, and so on.