An electronic device is provided. The electronic device includes: a display panel including a display area in which a plurality of pixels are arranged and configured to display an image in a first direction, and a first camera module including camera circuitry and a second camera module including camera circuitry arranged under the display panel, wherein the display area includes a first display area overlapping the first camera module in the first direction and a second display area overlapping the second camera module in the first direction, wherein pixels per inch (PPI) of the first display area is less than the PPI of the second display area.