What is the difference in ROI, KPIs, OKRs metrics? how and when to get them?

So I have decided this year that I would like to learn more about data informed design and I have been hearing and reading a lot about the following ways of measuring: ROI, KPIs, OKRs and I'm confused with the 3 of them. I also read about the UX metrics frameworks like the HEART from google.

So my questions are:

  • What is the difference among these 3 (ROI, KPIs and OKRs)?
  • WHEN and HOW to get the data for each one in a project?

  • should we get the 3 of them in a project or choose 1?

  • Finally, does the HEART framework from google helps defining one of them? if not, what is the difference in between those metrics and ROI, KPIs and OKRs?

Thank you in advance,