This is typically in a conductor such as a wire , but can also be through semiconductors , insulators , or even through a vacuum as in electron or ion beams . Direct current may flow in a conductor such as a wire , but can also be through semiconductors , insulators , or even through a vacuum as in electron or ion beams .