This question already has an answer here:
I want to use a relay switch with the GPIO on my raspberry pi 2 (40 pins).
I found the link below on google and it mostly makes sense, what I'd like to know is why do I need to use a transistor to activate the relay switch? why can I not just wire it up directly?
please keep in mind I am a novice with electronics.
Thank you :o)