Reading a book is one way to learn how generators make electricity.