Why do metals have free electrons? Throughout my highschool classes, I have been made to learn that metals have free electrons that's why they are able to conduct electricity.. But I never understood why. Is that related to metallic bonding... Correct me if I am wrong but even if that's the case.... I am just not able to understand the concept of free electrons
 A: In high school classes , free electrons is used interchangeably with mobile electrons even though they are not exactly same. Free electron is an electron is essentially out of the electron -positive site bound system. While mobile electrons are those which are loosely bound to the positive site so even though they are not free from the positive site's influence they can essentially hover above other positive sites among the sea of electrons in such a way that as a whole the conductor has no charge.
For example consider the electron of a Bohr hydrogen atom. If its given energy exactly equal to its ground state energy it becomes free in the sense that it is not bound to the nucleus any longer , if given any more energy whole of it will appear as KE.
On the other hand conductors have many orbits and the electrons in the last orbits are loosely bound to the nucleus due to screening and also because they are far from the nucleus. These are mobile electrons. But your book is calling them free electrons. Since these are loosely bound they can easily constitute a current.
A: I am afraid that the answer is not high-school level at all, let me try to explain anyway.
First of all, we talk about free electrons when they can move freely in space without external forces acting on them. Also we assume that they do not interact with one another (this is really tricky because they are charged particles, but I won't discuss this assumption).
Clearly in a metal there is a crystal made of ions that acts with external forces on the electrons. However it turns out that the electrons with higher energy act as if they were free electrons, and since only the electrons with higher energy are responsible for conduction, we can treat metals as free electrons systems.
Technical details
Free electrons have energy levels described by the dispersion relation $\varepsilon_k = \hbar^2k^2/2m$, where $m$ is the mass and $k$ is the momentum. At zero temperature the particles occupy all the available electronic states from $k=0$ up to $k=k_F$, known as Fermi momentum, corresponding to an energy $\varepsilon_F=\hbar^2k_F^2/2m$ and when $k\sim k_F$ the dispersion relation is approximately linear in momentum $\varepsilon_k \sim \varepsilon_F + \hbar^2k_F(k-k_F)/m$.
When electrons are bounded by a periodic potential as in metals, the dispersion relation changes completely, in particular one can prove that for a one dimensional lattice with step $a$ the dispersion relation reads $\varepsilon_k = \mp 2t \cos{(ka)}$, where $k$ lies in the first (reduced) Brillouin zone $k \in ]-\pi/2a,+\pi/2a]$ and $t$ is called hopping and it's given by $t = \hbar^2 \eta /2ma^2$, $\eta$ being a dimensionless parameter which depends on the specific ions. You can plot the dispersion relation as an exercise. At zero temperature the electrons occupy all the energy states described by $-2t \cos{(ka)}$ and thus the Fermi momentum is $k_F = \pi/2a$ and the Fermi energy $\varepsilon_F=0$. Now you can expand the dispersion relation close to the Fermi momentum and you get $\varepsilon_k \sim 2t (k - k_F)a = \hbar^2 \eta (k-k_F)/m a$. You can easily rewrite the latter formula as $\varepsilon_k = \varepsilon_F + \hbar^2 k_F(k-k_F)/m^*$, where $m^* = (\pi/2\eta)m$.
As you can see, close to the Fermi level the dispersion relation of bounded electrons is formally equivalent to that of Free electrons with an effective mass $m^*$. Now since only electrons close to the Fermi level are affected by excitations, scattering process etc. due to Pauli exclusion principle, you can see that the "important" electrons can be treated as if they were free electrons with some effective mass. This is precisely the reason why the free electron model describes quite well the properties of metals. Finally notice that insulators and semiconductors have completely different dispersion relations, so this similarity is no longer true.
A: Without getting into the quantum mechanical details, here’s a cartoon depiction of what’s going on. The vertical axis represents energy.

Like other answers have already pointed out, metals don’t have actual free electrons. In the cartoon this is given by the grey region. If electrons have enough energy to be in the grey region, they’re free.
In individual independent atoms (gaseous state), the energy levels below a certain energy are discrete. This is depicted by the lines in the cartoon. This means the energy is fixed, rigid. The electrons in this state can’t conduct electricity.
In solids however, the discrete states of multiple neighbouring atoms “merge” into a continuum and create what is called as bands. For further details you may look at my answers here.
With this, there exist a continuum of states called the conduction band where the electrons are not bound to any single atom of the solid. They are mobile. The fascinating property of these states is that it is possible for electrons to respond to an external electric field. These states are called Bloch waves.
In insulators there is a big energy gap between the filled states (valence) and the empty states (conduction). So without sufficient external field, they are unable to conduct electricity.
In metals however, the energy gap is absent and thus electrons can easily go into the conduction band and respond to external electric field.

Some details
The reason why mobile electrons seem like free electrons has to do with crystal symmetries. Specifically translational symmetry. In a crystal the atoms are arranged in a regular periodic manner. In the bulk (non boundary) of the metal if you go from one atom to another, the neighbourhood looks identical. This is known as translational symmetry. And a consequence of this is that the electrons have well defined momentum, just as a free electron does. This is encapsulated in the band structure.
A: Without getting too far away from the high school level: the electrons in metals are not really free. But they are free to move in the sense that there are energy states where they can jump, if an electric field is applied.
If you are comfortable with the concept of a hole as a unfilled chemical bond between ions (as it is explained in high school physics) than a metal can be thought of as a semiconductor with lots of holes, so that thinking of them as particles doesn't make sense.
Update
To expand the second paragraph above:

*

*Let us first think of a covalent bond in a hydrogen atom: two electrons (one from each atom) are shared by the two atoms.

*Carbon can form four such bonds, which is why it can form complex
chained and branched molecules. In a diamond each carbon atom is
bound to four other atoms - we say that its bonds are saturated in
the sense that all the electrons a participating in bonds in order to  hold the crystal together, i.e. none of the electrons a "free".

*One way to think of a metal is as of a material were some of the electrons are not participating in bonding.

*Let us consider semiconductors, such as silicon or Germanium - they are in the same group as carbon in the periodic table and form diamond-like crystals with saturated bonds. If one bond is broken, an electron (or even two) is liberated and start wondering around crystal - this is a "free" electron. We also have left an empty space - a hole. An electron from another bond can jump into the empty space, which can be though of as the hole moving.

*If we replace some of the Si/Ge atoms by atoms with more or less than four valence electrons, we will have a material with inherently more electrons or more holes than a pristine semiconductor. We refer to it as n-type or p-type semiconductors, depending on whether electrons or wholes are in excess.

*A metal than can be thought of as a n-type semiconductor with lots of excess electrons. (One rarely speaks of excess holes, since the concept of a hole doesn't really make sense in this case).

A: Let us put it like this: the lattice structure typical of a piece of metal causes the outer orbital electrons of the metal atoms to behave as if they were owned by all the atoms of the metallic lattice structure in common, rather than by each individual atom. The consequence is the "loosening" and de-individualization of each electron from its place in what would have been its original electron cloud.
I think this is the simplest answer which can be given.
A: You are asking for an explanation, and as we can see from the other answers, there are no understandable explanations.
Here is a description at a simple level.
Take a flat piece of glass and a flat piece of gold. Touch them together, and then pull them apart. The glass will have a positive charge, because the gold atoms hold onto electrons better than some kind of atoms in the glass. That's true for any two materials, though some are almost equal in their ability to hold on.
Ranking materials
Suppose you used polyurethane instead of gold. It is even better at grabbing electrons. But there is a difference. The electrons the polyurethane grabs are stuck where they are. Other atoms in the polyurethane have a hard time taking them from the ones that first got them from the glass. It takes a long time for the electrons to leak away. But the gold passes electrons from one gold atom to another very readily.
Different materials do that at different speeds, and resist electron movement to different degrees. Manganese has around 80 times the resistance of silver. Amorphous sulfur resists $10^{23}$ times as much.
Resistance of elements
It's more complicated than just elements -- carbon has different resistance in diamond form than as graphene, etc.
And alloys or chemical compounds resist in ways that can be unintuitive.
What causes the difference? I couldn't begin to say. Superfast Jellyfish provided a description with a picture. You can see the bands overlapping. That is another description of what happens. It doesn't say anything about what makes the bands overlap.
It's possible that someone with a godlike understanding of quantum mechanics could work out the equations for each element and chemical compound from first principles, and understand how the QM gives rise to those bands, and understand what parts of the math result in conductivity.
But I strongly suspect that such a person could not explain it to mortals. And it's hard to understand even what "understanding" means at that level.
