The virus that causes chickenpox is the same virus that causes shingles.