Text this: Photocatalysis of dyes: operational parameters, mechanisms, and degradation pathway