HCLTech interview question

Difference between RAM and ROM