Bug is a term often used when describing a software defect or error, which causes the software or website to behave unexpectedly or prevent it from functioning as intended. Finding and fixing bugs in software is known as Debugging.