NOVELTY - A boron-containing compound (I) or (II), is new.    USE - New boron-containing compound is used for dye for dye-sensitized solar cell (all claimed).    ADVANTAGE - The boron-containing compound is manufactured by simple process. The dye-sensitized solar cell containing dye including boron-containing compound has high electric charge injection efficiency and photoelectric conversion efficiency, and excellent durability.    DETAILED DESCRIPTION - A boron-containing compound of formula (I) or (II), is new.    T,U'=monovalent group having one or more group which is combined with oxide semiconductor;    ring Ar1,ring Ar2=optionally substituted heteroaryl containing hetero atom chosen from nitrogen, oxygen and sulfur;    Y1,Y2=carbon or nitrogen, in which at least one of Y1 and Y2 is nitrogen;    X1,X2=H, halo, hydroxy, or alkyl, aryl, heteroaryl, alkenyl, alkynyl, amino, alkoxy or aryl alkoxy (all optionally substituted);    or X1+X2=bivalent group;    E=single bond, -CR=CR-, =CR-, group of formula (i), =N-, -NR-, -O-, -S-, -PR-, =P- or -P(O)R-;    R=H, alkyl, alkoxy, alkylthio, aryl, heteroaryl, polyethylene dioxy, perfluoroalkyl, cyano, amino, silyl, nitro, halo, ester, amide or acyl;    Q=bivalent group having pi -conjugated skeleton (spacer site);    D'=monovalent group having electron-donating skeleton (donor site);    solid line arrow=covalent bond or coordinate bond;    Q3,Q4=bivalent group having pi -conjugated skeleton, or single bond;and    R2=H, or alkyl, aryl or heteroaryl (all optionally substituted).    INDEPENDENT CLAIMS are included for the following:    (1) dye, which comprises compound (I) or (II); and    (2) dye-sensitized solar cell, which consists of an electrode (E1), a light absorption layer formed on the electrode (E1), an electrode (E2) provided opposite to the electrode (E1) on which the light absorption layer is provided, and a charge transporting material provided between electrode (E1) and electrode (E2). The light absorption layer contains oxide semiconductor, and dye containing compound (I) and/or (II).