A young or small cod fish, or a type of small round apple used for cooking.
From cod + -ling (a diminutive suffix meaning small or young). Both the fish and apple sense emerged from Middle English.
The codling moth is so named because it was believed to attack cod (the fish), though it actually targets apples—a case where folk etymology created a misleading name that stuck.
Complete word intelligence in one call. Free tier — 50 lookups/day.