Bugs, or unexpected behaviors, are errors or malfunctions in a machine that causes it to produce unintended output.