Moths flying into the flame is an instinctive behavior.
Tips
usage
蛾 is a bound morpheme — in everyday speech you almost always hear 蛾子 (ézi) or 飞蛾 (fēi'é, 'flying moth'). The classic chengyu 飞蛾扑火 (fēi'é pū huǒ, 'a moth flying into the flame') describes someone rushing toward their own destruction.
memory
Compare 蛾 (moth) with 蝶 (butterfly, dié). Both have the 虫 (insect) radical, but 蛾 hides 我 (wǒ, 'I') and 蝶 hides 枼 — moths often have plain wings and dull colors, while butterflies (蝶) carry the 'leaf' element evoking colored wings.