How does ERS deployment work?

Electricity has been a key performance factor in Formula One over the past two years. But how is...