The first computer bug was an actual insect: In 1947, a team of engineers was working on the Harvard Mark II computer when they found a moth stuck in one of the relays. They taped the moth to the computer log and wrote "First actual case of bug being found" next to it. This is where the term "bug" originated in the context of computer programming. https://www.computerhistory.org/tdih/september/9/