Anions can influence toxicity in several ways. They can form complexes with metal cations, modulate the solubility of compounds, and affect the pH of solutions. For example, the presence of sulfate can reduce the toxicity of heavy metals by forming insoluble precipitates. Conversely, nitrate, a common environmental contaminant, can enhance the mobility of toxic metals, increasing their bioavailability and potential harm to organisms.