supercharger uses the pulley of the motor to spin the compressor wheel the condenses air
the denser the air the more power is created in the clyinder.
same principle for turbo charging but the difference is that the turbo runs on hot exhaust gases from the motor to spin the compressor but it still take away a small amount of power because the gases coming from the motor has to work to push the wheel.
the real difference is that a supercharger gives almost an instant boost and a turbo u have to wait till the wheel spools up, this can change depending on the spize and friction of the compressor wheel