A Formula 1 driver needs to feel as comfortable as possible in the car to perform at their best consistently. Just last year, both Nico Hulkenberg and George Russell complained when they were called upon to stand in for drivers who had contracted COVID-19.
So how do teams fit car to driver?
The first stage usually features a plastic bag and some expanding foam. The driver will sit in the car while the liquid is poured into the bag behind them and then it's a case of waiting for the liquid to mould itself to the driver's body shape.
From there, it'll be trimmed to fit both driver and chassis and then made into a carbon seat shell. It's not an exact science, but at the very least that provides a good starting point.
Check out this video showing Esteban Ocon going through the initial stages of his first seat fitting with Renault:
And for a closer look at the refinement that is often required once the seat has been made, have a look at this video of new McLaren driver Daniel Ricciardo: