The "anatomy" of a gate

You may imagine a room with a well-drilled 'dutiful' official with e.g. the order: "if you see both lamps on, then push the button!" (don't mind the result...) - That would be the 'human version'.
The anatomy of a gate may also consist of relays, or transistors or pneumatically acted valves or...
or...
or...
or...

move on