The German word 'ihr' can have 5 different meanings, making it often difficult for learners to work out which one it is. This infographic is trying to make it a bit easier:
Now test yourself. What is the meaning of ‘ihr’ in the following sentences and why?
Gehst du mit ihr?
Wo ist Ihr Haus?
Was macht ihr?
Er kauft ihr ein Eis.
Wie heißt ihr?
Das ist ihr Handy.
Answers here (http://angelikasgerman.co.uk/the-german-word-ihr/)