I was reading up on the relay module and my understanding is that it connects and disconnects the circuit. I'm curious where the 5v comes into play. Is it just for connecting it to the Arduino's 5v pin?
Would it be alright if I have my 5v relay module connected to the 5v pin, ground, and a digital pin of the Uno. Then I would connect my motor to 2 AA batteries and connect that to the relay. Would that be fine or would there not be enough energy since the relay is looking for 5v?