It possesses several advantages, such as fast response, high sensitivity, and low undesired background. This technique shows highly promising analytical applications and has received extensive research interest in medicine, environmental monitoring, and (bio)sensing. The efficiency of the PEC detection strongly depends on the properties of the photoactive materials, which play a crucial role in the enhancement of the response signal. Photosensitizers such as Pcs have caused great interests and are widely exploited in the field of photocatalysis, PEC sensing and photosensitive solar cells due to their remarkable thermal and chemical stability, high extinction coefficient, excellent ability to harvest light and exceptional PEC performance. In addition, the Pcs structural flexibility allows for modification and binding with the desired material through the functional groups.