Nucleic acids are acids found in many organisms and have been considered esential to life.
From all of the listed, bacteria, trees and humans have nucleic acids, since this have DNA and RNA which are composed by nucleic acids.
Hope it helped,
BioTeacher101