Where it fits
APIs with variable traffic, webhooks, scheduled jobs, image processing and back ends for static sites. Examples include AWS Lambda, Google Cloud Functions, Cloudflare Workers and Vercel functions.
Trade-offs
Cold starts can add delay, long-running or stateful work fits poorly, debugging spans many small functions, and costs need watching at high volume.
Questions, answered
There are servers; you just do not manage them.
For low or spiky traffic, usually. For constant heavy load, a server can be cheaper.