Well you have a Pokémon who uses Toxic, then whirlwind and toxic on the new Pokémon, so when they switch out the Pokémon, it'll take damage. Used on TSS teams, but not really anymore. All the Pokémon would gradually faint as they would all be poisoned.
(TSS = Toxic Spikes Sandstorm)