Chitosan synergizes with bismuth-based metal-organic frameworks to construct double S-type heterojunctions for enhancing photocatalytic antimicrobial activity.