The code is used to access the DVLA database to check driving licence information, and it allows you to share your licence information with employers or car hire companies. Your driving record is held on the DVLA's database, which includes things like penalty points and the types of vehicles you're permitted to drive.