An unchecked exception is an exception that is not handled by the code. An unchecked exception can cause the program to crash or run into a problem.
Checked exceptions are exceptions that are handled by the code and can be caught with a try-catch block to prevent the program from crashing or running into an error.