In English, many adverbs end in ly, so one (particularly English Language Learners) may automatically think a word ending in ly must be an adverb, but this is not the case.
Many nouns end in ly: ally, bully, family, holly, jelly, lily, reply, supply, tally, ...
Many adjectives end in ly: lovely, curly, daily, chilly, lively, elderly, jolly, manly, ...
Many verbs end in ly: comply, apply, supply, imply, fly, ...