Errors and exceptions are similar but different terms.
While error represents, any bug in the code that disrupt running of the program or cause improved output.
An exception refers to any irregular situation occurring during run time, which we have no control on.
In exception handling we learn what are the different exceptions and how to handle it.