It's used to express agreement with something someone else has said, often with a sense of surprise, excitement, or irony.
For example:
* Person A: "That movie was so good!"
* Person B: "IKR! I can't believe how much I loved it."
It's commonly used in online chat, texting, and social media.