What is the function of a transformer?
a. transformer converts dc to ac voltages
b. transformer is used to step down or up the dc voltages and currents
c. transformer is used to step down or up the ac voltages and currents
d. transformer converts ac to dc voltages?