Sweet is chewy on the outside, within (5)
I believe the answer is:
candy
'sweet' is the definition.
(candy is a kind of sweet)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for candy that I've seen before include "Girl's name (diminutive)" , "American confectionary" , "Sugary sweet" , "Crystallised sugar; US sweets" , "Sweet (US)" .)