As an example, let’s consider the AND ... You guessed it, diodes can also be used to build logic gates, but not all of them, only the AND and OR gates can be built using diodes only.