One advantage of electrification is the lack of pollution from the locomotives.
The chief disadvantage of electrification is the cost for infrastructure: overhead lines or third rail, substations, and control systems.