Both increase engine power by compressing the intake air. This allows more fuel to be burned for each piston stroke. A supercharger uses a turbine driven by the engine, which uses some engine power. Turbos are powered by the otherwise wasted exhaust gas pressure. They are more efficient but more complex, and are less responsive when you accelerate.
Subscribe to BBC Focus magazine for fascinating new Q&As every month and follow @sciencefocusQA on Twitter for your daily dose of fun science facts.