The word bug is used to refer to an error in a system or program that leads to unpredictable operation and results. Such mistakes are made by programmers while writing source code or developing software design. Also, bugs can occur for other reasons. During testing of a program or application, they are identified and eliminated.