Resource for AND, Or and not gates.

Logic gates

What they can be used for?

These gate can be put together on this link,, this shows you how they can be used. When used correctly they can create complicated things, like and example of how a RAM works.

This complicated diagram.

This is an example of a simplified RAM, when you press any button on the left it switches on the light (stores the data). And when you press the button nearer the middle it resets all the memory(Clears the RAM).