Exceptions in Java are used to manage runtime errors, enabling a program to continue running or to terminate gracefully, rather than crashing unexpectedly. For example, if you attempt to divide by zero, Java throws an ArithmeticException, allowing you to catch it and handle it appropriately in your code.