What does it mean when there's little black dots in your flem?

Possible old blood. This could be flecks of old blood in the mucus from coughing or something more serious. See a physician for evaluation.