Functional dyspepsia and irritable bowel syndrome, are they different entities and does it matter?

Functional dyspepsia and irritable bowel syndrome, are they different entities and does it matter?