Chickenpox and herpes zoster are caused by the varicella-zoster virus (human herpesvirus type 3); chickenpox is the acute, primary infection phase of the virus, and herpes zoster (shingles) represents reactivation of virus from the latent phase.