Compile-time errors are issues in the source code that are detected by the compiler before the program is executed, preventing a successful compilation. They often include syntax errors, type mismatches, or undeclared variables, and must be resolved for the code to run.