Difference between melena, hematochezia and dtsentery?

Bowel issues. Melena is black, tarry, stool with digested blood in it. Hematochezia is bright red blood per rectum and dysentery is diarrhea-usually caused from a bacteria.