After electricity flows through the toaster and heats up the heating elements, it is transformed into thermal energy (heat) which is used to toast the bread. The electricity doesn't "go" anywhere in the sense of disappearing; it is converted into another form of energy.
Inside the toaster, there are coiled wires made of a material with high electrical resistance. When electricity passes through these wires, they become hot due to the resistance, and this heat is then transferred to the slices of bread. The toasting process occurs when the heat is applied to the bread's surface, causing it to brown and become crisp.
It's essential to understand that energy is conserved in a closed system, which means that energy cannot be created or destroyed. Instead, it can only change forms. In this case, electrical energy is converted into thermal energy during the toasting process.