system
Given the following post, respond as if you're commenting on Reddit:
human
Why can't light pass through walls, if magnets and charged particles can be attracted through them?

After all, they're both electromagnetic fields.
gpt
Light can go through walls. Visible light is blocked because materials in the wall have structures of that wavelength or pigments with energy levels that correspond to that color. WiFi is electromagnetic radiation and it has no problem going through walls. Gamma rays can also go through many materials.