An electronic device comprising: a housing ; and a camera disposed in an inner space of the housing , wherein the camera comprises: an image sensor , and a plurality of lenses aligned with the image sensor , and wherein at least one lens of the plurality of lenses comprises: a first area (A1) formed to transfer at least a part of an external light to the image sensor , and a second area (A2) including a light absorbing layer formed to absorb the at least a part of the external light and to penetrate from an outer surface of the at least one lens into an inner space with a predetermined depth (t); a first surface ; a second surface directed in an opposite direction to the first surface ; and a lens side surface surrounding the inner space between the first surface and the second surface , wherein the light absorbing layer is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area (A2). a housing ; and a camera disposed in an inner space of the housing , wherein the camera comprises: an image sensor , and a plurality of lenses aligned with the image sensor , and wherein at least one lens of the plurality of lenses comprises: a first area (A1) formed to transfer at least a part of an external light to the image sensor , and a second area (A2) including a light absorbing layer formed to absorb the at least a part of the external light and to penetrate from an outer surface of the at least one lens into an inner space with a predetermined depth (t); a first surface ; a second surface directed in an opposite direction to the first surface ; and a lens side surface surrounding the inner space between the first surface and the second surface , wherein the light absorbing layer is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area (A2). an image sensor , and a plurality of lenses aligned with the image sensor , and wherein at least one lens of the plurality of lenses comprises: a first area (A1) formed to transfer at least a part of an external light to the image sensor , and a second area (A2) including a light absorbing layer formed to absorb the at least a part of the external light and to penetrate from an outer surface of the at least one lens into an inner space with a predetermined depth (t); a first surface ; a second surface directed in an opposite direction to the first surface ; and a lens side surface surrounding the inner space between the first surface and the second surface , wherein the light absorbing layer is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area (A2). a first area (A1) formed to transfer at least a part of an external light to the image sensor , and a second area (A2) including a light absorbing layer formed to absorb the at least a part of the external light and to penetrate from an outer surface of the at least one lens into an inner space with a predetermined depth (t); a first surface ; a second surface directed in an opposite direction to the first surface ; and a lens side surface surrounding the inner space between the first surface and the second surface , wherein the light absorbing layer is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area (A2). <EOS>