Original: Drainage removes swamps which provide a habitat for mosquito larvae, but can also destroy ecologically productive areas.
Simplified: Drainage removes swamps which provide a habitat for mosquito larvae, but such drainage can also destroy harmless habitats by accident.