The image above shows how a typical AC to DC adapter works, high voltage (230V) at low current is fed into the primary coil and then gets stepped down to a lower voltage with higher current, afterwards it gets rectified to DC and finally a capacitor turns this DC to pure DC.
The power from the primary coil has to be the same as the power at the secondary coil (assuming no power loss). Let's for instance use an example, a phone charger, most phone chargers normally output 5V@1A DC which means 5W. Since the voltage from the wall is 230V this means that for there to be 5W there has to be 5W/230V = 0.0217A which means that the resistance at the primary coil is 230V/0.0217A = 10599\$\Omega\$
This is the part that I don't get, how can an inductor (coil), something with almost no resistance, have so much resistance. At first I thought that they would put a resistor before the coil but then I figured out that all the power would be used up by the resistor and wasted as heat instead of reaching the coil.
So what is really going on? Do they make these coils with materials that have really high resistance or am I missing something? Probably the latter is true.
Any help is appreciated.