Most electrical devices are not electrostatic devices. Most electrical devices require the flow of a current.
A current requires
moving charges. Let ρ_{+ }= n_{+}q_{+}
be the density of the positive charges in some region, i.e. the amount
of positive charge per unit volume, and let ρ_{ }= n_{}q_{}
be the density
of the negative charges. Here n_{+} and n_{} are the number of positively and
negatively charged particles per unit volume and q_{+} and q_{}
are the charge of each positively and negatively charged particle,
respectively. In neutral ordinary matter ρ_{+ }+ ρ_{
}= 0, i.e. the net charge per unit volume is zero. The current density j is defined as j = ρ_{+}<v_{+}> + ρ_{}<v_{}>. In this expression <v_{+}> and <v_{}> are the average velocities of the positive and negative charges, respectively. The unit of current density is (C/m^{3})(m/s) = C/(m^{2}s). The current density is a vector. It represents the amount of net charge that crosses a unit area perpendicular to the flow per second. If just as many negative as positive charges move across a unit area in the same direction per second, then the current density is zero. If <v_{}> = 0 and only positive charges are moving, then the direction of the current density is the direction of the velocity of the positive charges. In ordinary conductors the positive charges have zero average velocity and only the negative charges are moving. Then the direction of the current density is opposite to the direction of the velocity of the negative charges, as shown in the diagram on the right. 

The electric current
I is the net amount of charge which flows through a surface. I = j·A_{ }= j*A_{perpendicular} = ΔQ/Δt, The unit of current is Ampere = Coulomb/second (A = C/s). The current I is not a vector. It is a scalar, but it can be a negative or positive number. When obtaining the current from the current density using I = j·A, we have to choose a direction for the unit vector n normal to the surface area through which the current flows. If the net flow of positive charge is in the direction of n, (or the net flow of negative charge is in a direction opposite to the direction of n), then the current I is positive. If the reverse is true, then the current I is negative. Assume that a steady current flows in a wire with crosssectional area A. The electrons move with constant average velocity to the left as shown in the diagram. The current density is a vector pointing towards the right. Let the normal to the crosssectional area point towards the right. Then I = j*A= ΔQ/Δt, and the current is a positive number. (If the electrons were moving towards the right, then j would point towards the left and I would be a negative number.) The magnitude of the current I moving through a wire is given by I = ρ_{}<v_{}>A = n_{}q_{}<v_{}>A = n_{e}e<v_{}>A, where n_{e} is the number of free electrons per unit volume. The current I equals the number of electrons that pass any point along the wire per second times the unit of charge e. <v> is the drift speed of the electrons. It is their average speed, as they move along the wire. 
What causes the electrons to move in a wire?
Particles accelerate when they acted on by forces. When a particle with charge q is placed in an electric field E, a force F = qE is acting on the particle and it accelerates. To produce an electric field, something has to do work and separate charges. Such a device is called an emf. Examples of an emf are a battery or a power supply. The emf separates charges by moving electrons internally from its positive to its negative terminal. This produces an electric field, which points from the positive to the negative terminal outside and inside the emf. Electrons in a wire placed in this electric field close to the battery will accelerate toward the end of the wire closest to the positive terminal. But if the wire is not connected to the terminals of the emf, they will pile up at one end of the wire, leaving net positive charge at the other end. The separated charges in the wire then produce their own electric field opposing the field produced by the emf. The interior of the wire will be field free and charges will no longer accelerate. 

If, however, the wire is
connected to the emf, then the emf can pump the electrons through its
interior back from the positive to the negative terminal. Then
field inside the wire will not be zero, and electrons will continue to
accelerate towards the positive terminal. Steady currents can only flow in continuous loops. At any point, just as much charge has to flow out of a small volume surrounding the point as flows into the volume. If this were not so, charge would accumulate at the point, setting up its own electric field. This field would exert an additional force on the moving charges, disrupting the steady current. The electric field in a homogeneous wire with constant crosssectional area carrying a steady current is the same everywhere. If it were not, electrons would move with different velocities in different sections, and charges would accumulate in certain regions. The field produced by these charges would disrupt the steady current. The diagram on the right shows the field in a wire carrying a steady current. Even though an electric force is continuously acting on each electrons in a wire when a steady current is flowing, the electrons do not continue to accelerate indefinitely, but reach an average terminal velocity, called the drift velocity <v_{}>. When the electrons move with the drift velocity, then the resistive forces (frictional forces) acting on them are equal in magnitude and opposite in direction to the electric forces. Typical drift speeds are on the order of 1 mm/s. The resistive forces depend on the type of material the wire is made of. The terminal velocity depends on the electric force and the resistive force. The higher the terminal velocity, the larger is the current. The current will increase if the voltage across the wire increases, (this increases the strength of the electric field), and decrease if the resistive forces increase in strength. We write I = ΔV/R, or R = ΔV/I. This expression defines the resistance R of the wire. The resistance is a measure of the resistive forces. The unit of resistance is Ohm = Volt/Ampere (Ω = V/A). 

Problem:
An emf source of 6.0 V is connected to a purely resistive lamp and a current of 2.0 A flows. All the wires are resistancefree. What is the resistance of the lamp?
The resistivity ρ of a material is the resistance of a piece of material with unit cross sectional area and unit length. The resistance of a wire is proportional to its length l and inverse proportional to its crosssectional area A. We have
R = ρl/A.
The unit of resistivity is Ωm. The conductivity σ of a material is σ = 1/ρ.
The resistivity is a property of the material a conductor is made of. For many conductors it only weakly depends on the voltage ΔV across the conductor or the current I flowing through the conductor over a wide range of voltages and currents as long as the temperature of the material is held constant. This is called Ohm's law. R = ΔV/I is approximately constant for many conductors at constant temperature. Ohm's law breaks down under extreme conditions for all conductors. Many modern materials do not obey Ohms law under any circumstances. (Such materials are called nonohmic materials.)
The resistivity and therefore the resistance of most materials depends on the temperature. Tables often list the resistivity at some reference temperature T_{0}, (for example at 20^{o}C), and then list a temperature coefficient α = (1/ρ_{0})Δρ/ΔT. To find the resistance at some temperature T use ρ = ρ_{0}[1 +α (T  T_{0})]. A thermistors is a semiconductor crystal whose resistance strongly depends on temperature. Thermistor thermometers use thermistors to measure temperature. The resistance is measured to obtain the temperature. Thermistors are used as clinical temperature sensors in stethoscopes, as probes during surgery, and in other medical devices where temperature detection and control is vital.
Problem:
A copper wire has a length of 160 m and a diameter of 1.00 mm. If the wire is connected to a 1.5 V battery, how much current flows through the wire?
Problem:
An aluminum wire has a resistance of 0.10 Ω. If you draw this wire through a die, making it thinner and twice as long, what will be its new resistance?