step: sunlight is a kind of electromagnetic radiation that can shine through a window & electromagnetic radiation transfers heat and light energy by radiation
inference: sunlight can transfer heat and light energy through a window by radiation