There are types A (Japan), B (US), C (EU), D (India), E (France), F (Germany), G (UK), H (Israel), I (AU) and so on: in which all have a distinct plug shape and differences in prongs. Type A plug is just two straight prongs without a ground while Type B is nearly identical to A but with a ground connection and Type F has no ground attached to the outlet while Type E does, usually this is solved with a adapter (for electronics that are dual voltage and support 50/60Hz frequency).
However, household appliances are typically region locked in the sense of being singular voltage (like electric kettles, toasters, refrigerators, washing machines) since those are intended to not be made for travel (mainly for domestic use supporting only a single plug type) unless you have both an adapter and a transformer. You can’t just plug a 120v 60Hz Toaster (B Plug) onto a 230v 50Hz outlet (Type F socket) with an adapter alone as that’ll blow the fuse.
Most modern electronics (as in laptops, game consoles and smartphones) support dual voltage and frequencies but their default plug type is region locked, so if you’ve bought a PS5 in the UK importing it into the US (the default cable is Type G that comes with the packaging when plugging into a TV) unless you swap cable for a Type B plug but it’ll work fine. Why is there no unilateral plug type that’s “region free” when discussing plug types found in appliances.


The vast majority of the world uses compatible voltages, so just a basic adapter is all that you need. The only places using odd voltage requiring a transformer are Japan and Northern America.
However for things with a power brick like a ps5, you just need to buy the correct power brick.
You can get universal plug sockets that accept any plug, see them in the middle East a lot. Obviously they only work with 220-240 v
You really just need the right cord for 99% of devices using a power supply.
Hell, stuff I buy in the US these days often comes with a changeable plug right on the power supply itself, with both a US and EU adapter in the box.
modern smpss can take anywhere from 100 to 250V input so you can use them with either and any voltage inbetween. older ones had a switch between 240v and 120v modes (rectifier vs voltage doubler)