taylaron said:
i've been researching photons and i discovered on
http://http://van.physics.uiuc.edu/qa/listing.php?id=414"
and
http://en.wikipedia.org/wiki/Photon"
both resources state that all mangetic fields are made of photons. soooooo, this brings up a lot of questions...
OK, this is going to be a long one...
First question, you say you have been researching photons. What exactly does that mean ? Also, when doing research you should NOT be using public libraries like Wikipedia.
Secondly, i am sure you know that photons are defined as pieces of energy. Hence, the basis in which the "live" is the energy base. Photons are NOT point particles but energy-particles. It is very important to realize that. Knowing this, and knowing how E/M field are defined, you should already see that photons do NOT make up E/M fields.
Thirdly, the theory that describes photons and their relations to E/M fields is QED. In QED we learn that photons are the force carriers of the EM interaction. This means that photons are the particles that mediate the electrical and magnetic interactions. In QED, you can also study (very important to know btw) how photons arise due to the vibration of quantum fields. Think of a mattress on which you jump in one place. The surface of the mattress vibrates and due to this vibration, there is energy coming free from the mattress (ie the vibrational energy).
If you replace YOU by AN ELECTRON and the mattress by the quantumfield and you take into account that energy is the same as mass (E=mc^2) you can see how the vibration of a quantumfield can mimic a certain particle with mass m and momentum p.
This is how photons arise in QED. Ofcourse photons do not have restmass m but still the principle of vibrating fields versus particles remains the same. How QED deals with the zero restmass of photons is a more complicated story. More specifically, the quantumfield in the photon case is the 4-vector potential A.
One can actually rewrite the Maxwell equations with this A potential in such a way that they respect all necessary symmetries that need to be respcted (i know, this may sound a bit vaque but i don't know what level you are on so let me know). From this A potential one can also calculate the E and B fields.
Finally, photons are NOT the constituent particles of EM fields, photons describe the interactions between electric charges (which exhibit an electric field) or/and magnetic dipoles, quadrupoles (which have an associated magnetic field) etc etc ...
In QED photons arise thanks to the vibrating A field (think of it as the A mattress

). In other words, photons arise thanks to the quantisation of the waves in the A field. This A field is closely related to the E and B fields, so being a bit less accurate, you could also say that photons correspond to the quantisized energy of vibrating E and B fields.
greets
marlon