Syntax Error: A syntax error occurs when there is a mistake in the structure or grammar of a program, causing it to fail during compilation.
Runtime Error: A runtime error happens when a program runs into an issue while executing, such as dividing by zero or accessing an invalid memory location.
Logic Error: A logic error occurs when a program runs without any errors but produces incorrect results due to flawed reasoning or faulty algorithms.