问题: X-raysandgammarayscanbeusedtodetectandtreatcancer___________.
A: whenitiscloudy
B:becausetheycanpassthroughsolidobjects
C:whenthesun-raysarefierce
D:whenachangeinthenucleusofanatomtakesplace
E:whenelectronrearrangementtakesplace
F:whenitisabsorbedbymatter