Cloudera interview question

How do Lstms and Rnn work?