What causes black dots on the tongue?

if it is hairy then... black, hairy tongue, which is caused by an overgrowth of bacteria or yeast on the tongue The sides of my tongue used to be very dark until I had all my silver fillings removed.