But "apples" used to refer to any kind of tree fruit—not just the fruit we now know as apples.
"Courgette" = little "courge," which comes from Old French "cohourde" (which came from Latin "cŭcŭrbĭta"), which became both "courge" and "gourde" in French.