So I'm quite new to Japanese, and I'm having a blast being able to understand some basic compound words based on individual kanji, and in some cases the process is quite straightforward. However, I don't want to get carried away because I understand that of course kanji can have, in some cases, many readings, so I could sometimes end up with complete nonsense.
That being said, in the particular case of my question, is it reasonable to assume that the 食 in 月食/日食 can be interpreted as the moon/sun being "eaten" during an eclipse or is there another reason to use this kanji? I have read that a different kanji was used before (at least for lunar eclipse, 月蝕), but I haven't been able to find an explanation about the etymology itself or to verify that it is indeed as simple as it looks.
Thanks in advance !!