A software bug is an error, flaw or fault in computer software that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. The process of finding and correcting bugs is termed "
debugging" and often uses formal techniques or
tools to pinpoint bugs.