What are thread executors primarily used for in Java?
To create new threads dynamically
To manage a pool of threads and improve performance
To coordinate thread priorities
To handle exceptions in threads