At what point in the criminal justice process does booking occur?

A. During the punishment phase of a trial
B. Immediately after an arrest
C. During the guilt-or-innocence phase of a trial
D. During the investigation of a crime