Melena (Greek melas = black) is a medical term for black tarry stool due to blood in the stool, usually originating from the upper gastrointestinal tract (stomach or above).

The term is sometimes publicly (but not medically) used for a black vomit.  

It is important to differ between melena and black bowel movement from reasons, other than bleeding.