Our homes and electrical grids in cities are wired for AC. This is because AC cabling network costs less to build while suffering less losses over distance compared to DC electricity. So most of our electrical appliances work with AC. However, solar PV modules generate electricity in DC. This is due to semiconductor joints characteristics, which are found in solar PV modules, to generate electricity in DC.