A light emitting device comprising: a first light emitting part including at least one light emitting cell (121,122); a second light emitting part including a plurality of light emitting cells (123,124), wherein each of the light emitting cells (121,122,123,124) of the first and second light emitting parts includes a light emitting structure including a first semiconductor layer, an active layer disposed under the first semiconductor layer and a second semiconductor layer disposed under the active layer, and a first electrode layer disposed under the light emitting structure and electrically connected to the second semiconductor layer; a plurality of pads (111,112,113,114) disposed on the at least one light emitting cell (121,122) of the first light emitting part, wherein the pads (111,112,113,114) are electrically connected to each of the light emitting cells (121,122,123,124) of the first and second light emitting parts; a plurality of connection layers (36A,37A), each connection layer extending from a region under the at least one light emitting cell (121,122) of the first light emitting part to a region under the plurality of light emitting cells (123,124) of the second light emitting part; a second electrode layer disposed under the light emitting cells (121,122,123,124) of the first and second light emitting parts, electrically insulated from the first electrode layer and connected to the first semiconductor layer of the light emitting structure of each of the light emitting cells of the first and second light emitting parts; an insulating layer (41,43) disposed between the first and second electrode layers (82,83); and at least one gap part disposed between the at least one light emitting cell of the first light emitting part and the plurality of light emitting cells (123,124) of the second light emitting part, wherein each of the plurality of connection layers (36A,37A) extends through a region under the at least one gap part, wherein each of the plurality of connection layer (36A,37A) is electrically connected at one end thereof to a light emitting cell of the plurality of light emitting cells (123,124) of the second light emitting part and at another end thereof to a pad (113,114) of the plurality of pads, wherein the plurality of pads (111,112,113,114) is disposed on a first side of the light emitting cells (121,122) of the first light emitting part. a first light emitting part including at least one light emitting cell (121,122); a second light emitting part including a plurality of light emitting cells (123,124), wherein each of the light emitting cells (121,122,123,124) of the first and second light emitting parts includes a light emitting structure including a first semiconductor layer, an active layer disposed under the first semiconductor layer and a second semiconductor layer disposed under the active layer, and a first electrode layer disposed under the light emitting structure and electrically connected to the second semiconductor layer; a plurality of pads (111,112,113,114) disposed on the at least one light emitting cell (121,122) of the first light emitting part, wherein the pads (111,112,113,114) are electrically connected to each of the light emitting cells (121,122,123,124) of the first and second light emitting parts; a plurality of connection layers (36A,37A), each connection layer extending from a region under the at least one light emitting cell (121,122) of the first light emitting part to a region under the plurality of light emitting cells (123,124) of the second light emitting part; a second electrode layer disposed under the light emitting cells (121,122,123,124) of the first and second light emitting parts, electrically insulated from the first electrode layer and connected to the first semiconductor layer of the light emitting structure of each of the light emitting cells of the first and second light emitting parts; an insulating layer (41,43) disposed between the first and second electrode layers (82,83); and at least one gap part disposed between the at least one light emitting cell of the first light emitting part and the plurality of light emitting cells (123,124) of the second light emitting part, wherein each of the plurality of connection layers (36A,37A) extends through a region under the at least one gap part, wherein each of the plurality of connection layer (36A,37A) is electrically connected at one end thereof to a light emitting cell of the plurality of light emitting cells (123,124) of the second light emitting part and at another end thereof to a pad (113,114) of the plurality of pads, wherein the plurality of pads (111,112,113,114) is disposed on a first side of the light emitting cells (121,122) of the first light emitting part.