What is a dense and a dropout layer?

A dense layer is a classic fully connected neural network layer: each input node is connected to each output node.

A dropout layer is similar except that when the layer is used, the activations are set to zero for some random nodes. This is a way to prevent overfitting.