Guayaba and membrillo are both words for a ?

Guayaba and membrillo are both words for a fruit.