Electric current is produced when charged particles, such as electrons, move through a conductive material, creating a flow of electric charge. The movement of these charged particles generates an electric field, leading to the flow of current in a closed circuit.