Bug

A bug is an error in a program that causes incorrect behavior. Bugs arise from logic errors, wrong assumptions or edge cases. Finding and fixing bugs is called debugging; automated tests help catch them early.