Here the phrase "the scribes and the Pharisees" is a synecdoche that represents some of the members of these two groups. Alternate translation: "Some scribes and Pharisees brought" or "Some men who taught the Jewish laws and some who were Pharisees brought" (See: [[rc://en/ta/man/jit/figs-synecdoche]])
This is a passive statement. You may translate it in an active form. Alternate translation: "a woman whom they had found committing adultery" (See: [[rc://en/ta/man/jit/figs-activepassive]])