Transistors can be used as a Switch or Transducer Driver.
Many transducers need quite a lot of current to operate.
This transducer driver circuit amplifies the small base current from a
low
power circuit and provides enough current to operate the transducer.
A small base current is used to switch
on a much larger collector current.
If the load is inductive, the diode is needed to protect the transistor from "Back EMF" damage. It works by allowing the inductor current to die away gradually when the transistor is suddenly switched off.

Use a MOSFET. This switches faster. Bigger currents can be handled. A minute input power is needed to operate the switch. The MOSFET is voltage operated. This is often an advantage.
Use a relay. This is mechanical, slow and relatively unreliable.
Use a thyristor or a triac. These are not on the AQA specification so you will need to find the details elsewhere.