This shows why you go somewhere. It tells what you will do when you get there.
にに。
I am going to the library to read a book.
、。
Yesterday, I went to see a movie with a friend.
、にへ。
I was too busy, so I didn't go back home to eat lunch.
に、。
The client is coming for a meeting, so please prepare the conference room.
に。
Thank you for coming all this way to see me.