Shingles is also known as herpes zoster – the Varicella-zoster virus that causes both it and chickenpox is part of the herpesvirus family which also includes herpes simplex (cold sores and genital herpes depending on the type).
These are all persistent as the virus embeds the viral DNA into your own DNA during an initial infection. Reinfections occur when the viral DNA is used to make new virus by your own cells and your immune system is weakened for whatever reason (aging, stress, other illness, etc) .
Shingles in particular embeds itself in the nerve roots, typically of your torso although not always, where it can stay hidden until it reactivates. The severe pain is caused by inflammation of the affected nerves.
Latest Answers