A lighting device disclosed in the embodiment of the invention includes a base member including a straight portion and a curved portion, a substrate including a first substrate disposed on the straight portion of the base member and a second substrate disposed on the curved portion; a plurality of light sources disposed on each of the first and second substrates, a resin layer including a first resin portion disposed on the first substrate and a second resin portion surrounding the second substrate, and a phosphor layer disposed on the resin layer, and an outer side surface of the second resin portion may include a curved surface.