In computing, a bug is a mistake or problem in a computer program or system that makes it give wrong results or act in ways it’s not supposed to. The word bug became common in computing after Grace Hopper, a pioneer in the field, discovered an actual moth stuck in a relay of the Harvard Mark II computer back in 1947. She taped the moth into her logbook and mentioned that they were debugging the system.