Design and synthesis and spectroscopic properties of porphyrin and BODIPY derivatives and their applications in biological imaging, photodynamic therapy, molecular spin electronics and other fields.