Question: what is the difference between un and el?
Answer: It sounds like you already know that el goes to masculine singulars, las goes in front of feminine plurals, un is a/an for masculine singulars, etc. You don't always have to put these in front of nouns.