The faculty of generation of electricity has been given to these creatures for purposes both of defence and offence.