What does De Nada Mean?

The phrase de nada translates to of nothing. But the phrase is actually used to say thank you. For example, the woman says gracias for the coffee and the man says de nada.