Question: how is light a matter?
Answer: Light is a form of energy, not matter. Matter is made up of atoms. Light is actually electromagnetic radiation. Moving electric charge or moving electrons (electric current) cause a magnetic field, and a changing magnetic field creates an electric current or electric field.