Replacing a switch with a transistor
Bipolar junction transistors, due to their nature and operation, tend to have a relatively large forward voltage. Field-effect transistors use the depletion or doping zone to pinch the current pathway closed or lever it open and so have a much lower forward voltage. They are much more sensitive to voltage surges such as those caused by static electricity though, so it is advisable to always use static protection when handling them.