An electronic device, comprising: a housing; a display configured to be visible from the outside through at least a portion of the housing and including a display area; a camera module disposed under the display and that overlaps at least a portion of the display area and not including an aperture structure, wherein the camera module comprises: a lens housing; at least one lens (530, 531, 532, 533) disposed in the lens housing; and at least one image sensor configured to obtain external light passing through the at least one lens into the camera module, wherein the display comprises a display panel, the display panel comprising, a substrate layer; an intermediate layer including a plurality of pixel electrodes, P, stacked on the substrate layer, and organic light emitting layers disposed in each of the plurality of pixel electrodes; and an encap layer disposed on the intermediate layer, and at least one light blocking member including a blocking area configured to block at least a portion of the external light to be transmitted into the display panel and/or light from leaking out of the display panel, wherein the at least one light blocking member is disposed in the intermediate layer, and the at least one light blocking member defines a light aperture area through which light can be transmitted. a housing; a display configured to be visible from the outside through at least a portion of the housing and including a display area; a camera module disposed under the display and that overlaps at least a portion of the display area and not including an aperture structure, wherein the camera module comprises: a lens housing; at least one lens (530, 531, 532, 533) disposed in the lens housing; and at least one image sensor configured to obtain external light passing through the at least one lens into the camera module, wherein the display comprises a display panel, the display panel comprising, a substrate layer; an intermediate layer including a plurality of pixel electrodes, P, stacked on the substrate layer, and organic light emitting layers disposed in each of the plurality of pixel electrodes; and an encap layer disposed on the intermediate layer, and at least one light blocking member including a blocking area configured to block at least a portion of the external light to be transmitted into the display panel and/or light from leaking out of the display panel, wherein the at least one light blocking member is disposed in the intermediate layer, and the at least one light blocking member defines a light aperture area through which light can be transmitted. a lens housing; at least one lens (530, 531, 532, 533) disposed in the lens housing; and at least one image sensor configured to obtain external light passing through the at least one lens into the camera module, wherein the display comprises a display panel, the display panel comprising, a substrate layer; an intermediate layer including a plurality of pixel electrodes, P, stacked on the substrate layer, and organic light emitting layers disposed in each of the plurality of pixel electrodes; and an encap layer disposed on the intermediate layer, and at least one light blocking member including a blocking area configured to block at least a portion of the external light to be transmitted into the display panel and/or light from leaking out of the display panel, wherein the at least one light blocking member is disposed in the intermediate layer, and the at least one light blocking member defines a light aperture area through which light can be transmitted.