A structure somewhat more complicated than an OR gate will produce an EXCLUSIVE OR. As a circuit element it is not much used in design, but it has a theoretical importance with respect to minimal collections of gates from which all others can be derived. For example, NANDs by themselves are sufficient for the purpose.