A piezoelectric sensor is made up of piezoelectric materials and used to convert the mechanical stress into electrical charge. Here we are using a piezoelectric sensor to generate electricity from foot steps.