a light emitting device includes a package body , a light emitting diode , a transparent resin material , and a wire . the package body includes a bottom part and a side part . the bottom part includes a first electrode and a second electrode electrically connecting the upper surface and the bottom surface of the bottom part , respectively . the side part includes an upper surface including a trench and a bottom surface being in contact with the upper surface of the bottom part , wherein the upper surface of the bottom part is lower than the upper surface of the side part such that the package body includes a cavity surrounded by the side part , and the bottom surface of the bottom part includes a second opened portion that divides the first electrode and the second electrode , and wherein a portion of the transparent resin material is disposed inside of the trench .