All items can be given Modifiers which affect various Attributes of the player/mob which wears or holds them. These are somewhat complex. Please read the attributes wiki to learn more.