What are the main advantages of using FaaS in application development?

For those of you who have used FaaS, what are the key benefits you’ve experienced? I’ve heard that it’s great for scalability, cost efficiency (pay-as-you-go), and eliminating the need for server management. How does it impact development speed and flexibility, and what are some real-world scenarios where you’ve found FaaS to be the perfect solution?