Which sentence uses the passive voice? A. John searched for a job. B. The tree was planted by Mary. C. Lies destroy friendship. D. The rain continued until dawn

Im pretty sure it is B The tree was planted by Mary.