Use the Export node for one of two reasons.
The Export node accepts a front input and a matte input. The front is output as the RGB result and the matte is output as the alpha result. An RGBA-supported format such as .sgi must be selected for export. The Export node does not support the output of stereo clips.
(a) RGB (front) input tab (b) Matte input tab