A pyroelectric can be repeatedly heated and cooled (analogously to a heat engine) to generate usable electrical power. An example of a heat engine is the movement of the pistons in an internal combustion engine like that found in a gasoline powered automobile.