The Advanced Virgo detector has contributed with its data to the rapid growth
of the number of detected gravitational-wave signals in the past few years,
alongside the two LIGO instruments. First, during the last month of the
Observation Run 2 (O2) in August 2017 (with, most notably, the compact binary
mergers GW170814 and GW170817) and then during the full Observation Run 3 (O3):
an 11 months data taking period, between April 2019 and March 2020, that led to
the addition of about 80 events to the catalog of transient gravitational-wave
sources maintained by LIGO, Virgo and KAGRA. These discoveries and the manifold
exploitation of the detected waveforms require an accurate characterization of
the quality of the data, such as continuous study and monitoring of the
detector noise. These activities, collectively named {\em detector
characterization} or {\em DetChar}, span the whole workflow of the Virgo data,
from the instrument front-end to the final analysis. They are described in
details in the following article, with a focus on the associated tools, the
results achieved by the Virgo DetChar group during the O3 run and the main
prospects for future data-taking periods with an improved detector.Comment: 86 pages, 33 figures. This paper has been divided into two articles
which supercede it and have been posted to arXiv on October 2022. Please use
these new preprints as references: arXiv:2210.15634 (tools and methods) and
arXiv:2210.15633 (results from the O3 run