dental floss can do most things that a toothpick can do but dental floss is much thinner than a toothpick and can thus get to places that most toothpicks cannot reach. so floss presumably does a better job at getting bits of food out from between the teeth, relieving discomfort and pain quicker.