I'm pretty confused about the
に particle and I hope to receive some clarification.
In the first sentence, the
に particle is used to indicate the target, which is
私. So I know the sentence means "He gave me the book."
に particle is used to indicate the source in the second sentence, so it means "I was scolded by my mother."
So my question is, how can I tell if the
に particle is indicating a target or a source? Do I have to solely rely on context? Or am I having a major misunderstanding of the particle itself here?