How it works
Two particles split the work: に (in) marks the place where something exists — the 池 (pond) — while が (subject) points out what exists there, the 鴨 (duck). The verb いる (there is) is used because a duck is alive (objects would take ある (there is, things)).