F13 Tech interview question

Explain Difference between Serveless and Ec2 in AWS