Why did the sparrow go to the library?

a house sparrow sits perched on a tree stump

It was looking for bookworms.