Translation:I am looking for water. It is necessary for my dog.
I feel the sentence "it is needed for my dog" is not quite right. I think the sentence "it is necessary for my dog" would be a lot better.
Why not? It teaches you that "potrzebna" needs to take feminine agreement even if the feminine noun is in a different sentence and in a different case.