What is the effect of personification in these lines from the passage?

Alas, the sparrow knoweth

The house where free and fearless she resideth;

Directly to the nest the swallow goeth,

Where with her sons she safe abideth.