Diatomaceous earth is a fine powder made from the fossilized remains of tiny aquatic organisms called diatoms. It works as a natural insecticide by dehydrating and killing pests that come into contact with it. It can be sprinkled on the soil, plants, or around the perimeter of your garden to deter pests such as slugs, snails, ants, aphids, and beetles.