When a potential difference is established between two points, a flow of charges appears. The rate of this flow of charge is the electric current, which is determined by the potential difference and the resistance, i.e. the opposition of the medium to the movement of charges.