What does direct current and alternating current do?