XP for Magic Items [on hold]

What does XP for magic items mean? like if there is a magical ring worth 500 XP,what does that mean. Does the player get that XP with the item. Does the player lose the XP with every use of the item. I dont know what XP for magic items means. 5e