According to an embodiment, an image sensor (e.g., the image sensor 200 of FIG. 2A) may include at least one pixel that includes a first sub-pixel (e.g., the first sub-pixel PD1 of FIG. 2A), a second sub-pixel (e.g., the second sub-pixel PD2 of FIG. 2A), a third sub-pixel (e.g., the third sub-pixel PD3 of FIG. 2A), and a fourth sub-pixel (e.g., the fourth sub-pixel PD4 of FIG. 2A) covered by a color filter (e.g., the color filter CF1 of FIG. 2A) and includes a first micro lens (e.g., the first micro lens ML1 of FIG. 2A) covering the first sub-pixel, a second micro lens (e.g., the second micro lens ML2 of FIG. 2A) covering the second sub-pixel, and a third micro lens (e.g., the third micro lens ML3 of FIG. 2A) covering the third sub-pixel and the fourth sub-pixel, and a control circuit (e.g., the control circuit 220 of FIG. 2A) that is electrically connected with the at least one pixel. The control circuit may obtain a light of an external object by using the at least one pixel, may generate depth data associated with the external object, by using data obtained from the third sub-pixel and the fourth sub-pixel through the third micro lens, may generate pixel data on the at least one pixel by processing data obtained from the first sub-pixel, the second sub-pixel, the third sub-pixel, and the fourth sub-pixel with regard to the light, and may transmit the pixel data and the depth data to an external processor.