How is a electric guitar used?

Can you answer this question?