Let's put an inductor (i.e., a coil with an inductance L) in series with a battery of emf e and a resistor of resistance R. This is known as an RL circuit. There are some similarities between the RL circuit and the RC circuit, and some important differences.
Consider what happens with the resistor and the battery. When the switch is closed we have a current; when the switch is open we have no current. Now add an inductor to the circuit. When we close the switch now the current tries to jump up to the same value we had with the resistor but the inductor opposes this because a change in current means a change in flux for the coil. If the inductor adds negligible resistance to the circuit the current eventually reaches the same value it had with the resistor but the current follows an exponential curve to get there.
Look at the voltage vs. time graphs. One graph represents the resistor voltage as a function of time. The other graph represents the inductor voltage as a function of time. Which graph is which?
The first choice is correct. Red is the resistor voltage, and blue is the inductor voltage. The resistor voltage is proportional to the current, so the graph of resistor voltage looks like the current graph. The inductor has an impact right after you open or close the switch, so its voltage has a large magnitude then...and then the inductor voltage decreases to zero.
The graph of current as a function of time in the RL circuit has the same form as the graph of the capacitor voltage as a function of time in the RC circuit, while the graph of the inductor voltage as a function of time in the RL circuit has the same form as the graph of current vs. time in the RC circuit.
If we take our previous circuit, wait for a while for the current to level off, and then open the switch so the battery is no longer in the circuit, what happens? If the circuit had just a resistor the current would drop immediately to zero. With the inductor the change in current means a change in magnetic flux so the inductor opposes the change. The current does eventually reach zero but it takes some time to get there.
Once again, the graph of current as a function of time in the RL circuit has the same form as the graph of the capacitor voltage as a function of time in the discharging RC circuit, while the graph of the inductor voltage as a function of time in the RL circuit has the same form as the graph of current vs. time in the discharging RC circuit.