Can general relativity explain the phenomenon of time loops and time travel?

How does the immune system remember past infections?
What is the lifespan of different insect species compared to humans?