What does it mean if the stool is black and looks more like small balls?

Black stool. Black stool can occur due to iron supplementation or due to bleeding in upper GI tract, latter known as melena. You should have this evaluated by your physician. The small balls are usually indication of constipation.