mkhovila | el

Why is "el" used for both "he/him" and "she/her"? How do you translate a sentence like:

"El dona la gato a el."

How do you know if it means "He gives the cat to her" or "She gives the cat to him"?

Mark