(あめ)

あめ
noun
candy
1. candy, hard candy, sweets
A sweet confection, typically hard candy made from sugar. Different from 雨 (ame, rain) which has the same pronunciation.
Do you want to eat some candy?
I gave candy to the child.
Candy is good for your throat.
Throat lozenges
There was candy in my pocket.
I'm reading a book while eating candy.

(あめ) is homophone with (あめ) (rain), but they have different kanji. This (あめ) refers to hard candy or sweets. For softer candy or chocolate, チョコレート or キャンディー might be used. (あめ)(むち) ('carrot and stick' literally 'candy and whip') is a common expression.