Adafruit fingerprint code explanation

This code is an example code from Adafruit for its fingerprint sensor, to scan the fingerprint and give its signature on the serial monitor.
I am trying to capture the signatures and store it in a database.