Weight is very important in F1, so ideally, drivers weigh less than 80kg to avoid adding extra weight. Weight is one of the most critical factors, so let's get into the details.
There are pit stops throughout the race, but none that involve the driver going to the bathroom, as there is just not enough time. Thus, the drivers are instructed to pee in their suit if they need to.