Relays and Mosfets

Could You make a little drawing, schematics, and post it?
Connecting two 5 volt, likely by pullup resistors, makes no sense.