1. An image sensor comprising: a plurality of phase difference detection pixels; and a plurality of image detection pixels arranged in a lattice pattern together with the phase difference detection pixels, wherein the phase difference detection pixels are arranged at an interval of a predetermined number of pixels in the lattice pattern, and the predetermined number of pixels has a maximum value of 16, wherein the lattice pattern comprises at least one lattice unit, and the at least one lattice unit has a 2×2 matrix, wherein the lattice unit comprises: a first color pixel and a second color pixel, which are opposite to each other in a first diagonal direction; and a third color pixel and a fourth color pixel, which are opposite to each other in a second diagonal direction intersecting the first diagonal direction, wherein the phase difference detection pixels are arranged on the first and second color pixels, wherein the first and second colors are green, and wherein the image detection pixels are green pixels arranged in lattice patterns each having a 7×7 matrix, at a center of which a corresponding one of the phase difference detection pixels is located.