What is the need for two different power types?
Most of today's electronics and electrical devices use DC power because of its smooth flow and even voltage, But DC cannot travel long distances from power plants to buildings, but AC power can. It is also a lot more convenient to generate AC than DC.