Text this: Chemical analysis of toxic elements