A Defect occurs when the application doesn't meet the software requirements. If the actual do not match with the expected result than it can be a defect. All incidents during testing may not be a defect, an incident is any situation in which the software system has a questionable behavior and creating problem in component then we can call it as Defect.