Lyme disease is caused by an infection with the bacteria, Borrelia burgdorferi, which is carried by deer ticks. The bacteria are transmitted when a tick bites a person.