You can create a not gate from connecting both the inputs to one input.
And an and gate by connecting that not gate to the output.
Every other essential gate can be made from and or a not gate.