Want to turn on a relay by connecting 2 wires

Sort of.

Take a look at this example .

See if you can get the idea of what is happening: