As a native speaker of a language with genders, it's not complex if you're a native speaker (basically nobody ever makes grammar errors related to gender when speaking/writing). As for their role, I think they may work as a simple error correction code (if genders in the sentence don't match, you misheard something)
FWIW I struggle with using English articles and past/present/future perfect time, because those concepts are absent from my language. Despite decades of experience with English at this point.
FWIW I struggle with using English articles and past/present/future perfect time, because those concepts are absent from my language. Despite decades of experience with English at this point.