'zijn' – to be (verb infinitive)
'we/jullie/ze zijn' – we/you/they are (verb, plural)
'zijn water/...' – his/its water/... (pronoun)
'het haar' – the hair
'haar auto' – her car
The grammatical context tells you which is which. You can train yourself in looking out for the clues.