Effects and concurrency
A program that talks to the outside world has to deal with things that fail, take time and happen at once. This part takes them in the order a program meets them: an exception and the resource that must be closed anyway, a computation that finishes later and the promise behind it, the pool of threads that runs it, the virtual threads of JDK 21 that make a million of them cheap, the file and the child process, and the HTTP client of the standard library.
Every program here runs on its own: the futures are awaited, the threads are joined and the HTTP server is started inside the program on a free local port, so no output depends on the order two threads happened to run in. That is also the habit the part teaches: concurrency whose result is deterministic is concurrency a reader can check.