What are the significant similarities and differences between AC and DC? What determines which is better for a particular application?