A light-emitting device having a structure in which a mask used for
forming a film such as an organic compound layer does not come in contact
with the pixels in forming the light-emitting elements, and a method of
fabricating the same. In fabricating the light-emitting device of the
active matrix type, a partitioning wall constituted by a second wiring
and a separation portion is formed on the interlayer-insulating film, and
the pixels are surrounded by the partitioning wall, preventing the mask
from coming into direct contact with the pixels, the mask being used for
forming the organic compound layer and the opposing electrode of the
light-emitting elements.