An electronic device (100, 300) comprising: a housing; and a camera (105, 112, 400, 800) disposed in an inner space (3001, 8001) of the housing, wherein the camera (105, 112, 400, 800) comprises: an image sensor (440, 840), and a plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) aligned with the image sensor (440, 840), and wherein at least one lens (431, 210, 220, 230, 240, 250, 260, 270) of the plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) comprises: a first area formed to transfer at least a part of an external light to the image sensor (440, 840), and a second area including a light absorbing layer (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) 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 (431, 210, 220, 230, 240, 250, 260, 270) 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 (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area. a housing; and a camera (105, 112, 400, 800) disposed in an inner space (3001, 8001) of the housing, wherein the camera (105, 112, 400, 800) comprises: an image sensor (440, 840), and a plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) aligned with the image sensor (440, 840), and wherein at least one lens (431, 210, 220, 230, 240, 250, 260, 270) of the plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) comprises: a first area formed to transfer at least a part of an external light to the image sensor (440, 840), and a second area including a light absorbing layer (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) 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 (431, 210, 220, 230, 240, 250, 260, 270) 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 (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area. an image sensor (440, 840), and a plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) aligned with the image sensor (440, 840), and wherein at least one lens (431, 210, 220, 230, 240, 250, 260, 270) of the plurality of lenses (430, 431, 432, 433, 434, 830, 831, 832, 833, 834, 835, 210, 220, 230, 240, 250, 260, 270) comprises: a first area formed to transfer at least a part of an external light to the image sensor (440, 840), and a second area including a light absorbing layer (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) 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 (431, 210, 220, 230, 240, 250, 260, 270) 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 (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area. a first area formed to transfer at least a part of an external light to the image sensor (440, 840), and a second area including a light absorbing layer (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) 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 (431, 210, 220, 230, 240, 250, 260, 270) 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 (4312, 4313, 4314, 4315, 212, 222, 232, 242, 252, 262, 272) is formed from the first surface and the second surface and/or the lens side surface into the inner space in the second area.