Virtual threads are a lightweight implementation of Java threads, delivered as a preview feature in Java 19.