Well, generally "dla" means "for" (especially for someone) and "z" is "from", "out of" and "made of".
But different languages take different prepositions, so for example some situations that need "for" in English will need a different preposition in Polish.