Passive, diode rectification. Each of the three gates has one input and two outputs. Assuming an AC signal at the input, the first (+ve) out will output only the positive part of the original signal. Conversely the -ve out will output any negative voltage parts of the signal. Note that there is a drop of approximately 0.3V.
You can actual