I'm confused about the use of an accent for 'el'. It still seems random to me . . .
There are two similar-looking words in Spanish: "el", which is the definite masculine article "the" and él which is the masculine personal pronoun (he, him etc.). So, for example, el gato de él.
el is the masculine article ('the'),
él the pronoun 'he'