In Minecraft for the PC, bookshelves used to be just for decoration, but now they are used to power up enchantment tables to make them more powerful.
Making a bookshelf can be rather time consuming, since you’ll need three books for each bookshelf.
Instead of making books, If you can find a village that has a library you can destroy the bookshelves to get three books each.
Surround your enchantment table with as many bookshelves as you can to create more powerful enchantments. You need to have at least one block of air away from the enchantment table though.