Corporatica interview question

what is gain? what is the difference between CNN and RNN