"Los" is one of the most frequent words in Spanish, functioning as a masculine plural marker in several grammatical roles:
Los árboles son verdes. – "The trees are green."
Los vi ayer. – "I saw them yesterday." (referring to masculine plural nouns)
Esta es su casa, y estos son los hijos. – "This is their house, and these are their children." (Here los implies "the [sons/children]" as a possessive construction.)
Los muchachos que corren son de la escuela. – "The boys who are running are from the school." (Los muchachos = "The boys"; que is the relative pronoun.)
Standard contraction is pa'l (colloquial) for para el. Para + lo → palo is not standard. The example given ("por los cuales") uses por + los, not a contraction of para + lo.
Key: Context determines which function "los" serves. It always signals masculine plural.