It is used to add Enchantments to items in an Anvil. As of the Enchanting Overhaul update (0.10), players can no longer enchant books at an Enchantment Table.