Barcodes are also used on books to show the book's ISBN number - have a look at any textbook that you have in your bag. They are also used on library tickets so that when your ticket is scanned, the database brings up your account and any books which you still have out on loan are displayed.