Question: why k map using gray code?
Answer: In k-map the same simplification of Boolean expression is done by pairing adjacent 1's for reducing variables. so if gray code is used in K-map the adjacent cells can be easily paired as they differ by only one bit and final expression can be obtained.