What are the differences between dysmenorrhea and endometriosis?

Dysmenorrhea. Dysmenorrhea is pain with menses which could be primary(not due to any particular condition) or secondary to for example endometriosis. Dysmenorrha is a symptom where endometriosis is a disease that has dysmenorrhea as a sumptom.
Endometriosis. Dysmenorrhea is painful menses whereas endometriosis is painful implants o endometrial tissue around the uterus or other areas in the body.