I have seen a sentence in book
Bacteria are important to human health
I have searched on stackexchange
And according to that answer -
To is used as : It is important to me
For is used as: It is important for my health.
So, as per above answer, it should be Bacteria are important for human health