BetterHelp Interview Question

Q: Difference between transformers and RNN, what does activation function do in DNN and why we use Relu?