To achieve electrical energy from mechanical energy, we have constructed a model where, when someone applies force on the model, it creates pressure on the piezoelectric sensors, which are present between two tiles. These sensors convert mechanical energy (force) into electrical energy.