Switched-mode power supply (SMPS) is like a helper that makes sure that electricity gets delivered to the right place where it's needed. SMPS is commonly used in our everyday electronic devices like smartphones, laptops, televisions, and many more.
Let's pretend you have a toy that requires batteries to work. You know that when the batteries get low, the toy doesn't work well, and you need to change the batteries. An SMPS works somewhat like that. It helps deliver the right amount of electricity to the device that needs it, just like how you would replace the batteries when they get low on power.
Instead of batteries, the SMPS gets power from the electrical outlet that you plug your device into. The SMPS then changes the power from the outlet so that it can be used safely by the device.
The SMPS does this by quickly turning on and off the power supply to create a sort of choppy voltage. This choppy voltage is like an elevator going up and down really quickly between floors. From that, we can make sure the device gets the right amount of electricity through the wires by adjusting the choppy voltage accordingly.
It may seem complicated to understand how SMPS works, but remember it's like having a helper to make sure electricity gets to the right place, just like you having a helper to change the batteries.