A bug is an error, flaw, or defect in software that causes it to produce an incorrect or unexpected result or behave in unintended ways.
A bug report is a formal record containing all relevant details about a detected bug. It helps developers reproduce, understand, and fix the issue efficiently.