Rational design of nitrogen and sulfur co-doped carbon dots for efficient photoelectrical conversion applications