This grammar shows an action happened by accident. It also shows something regrettable or irreversible happened.
。
I've gone and lost the important documents.
、。
This book is so interesting that I'll finish reading all of it today.
、。
I haven't eaten yet, so please don't go and eat all the cake.
に。
I apologized to the teacher about the homework I had completely forgotten.
、。
Even though I'm on a diet, I couldn't help myself and ended up eating a piece of cake.