Gingivitis is caused by bacteria that irritates the gums, causing inflammation and bleeding. This condition can be prevented by making regular hygiene visits to the dentist.