Ticks are blood sucking arachnids. To achieve their goal, they sink their mouth part within the skin. The bite can cause swelling, redness, or irritation.
Different diseases can be transmitted by ticks to dogs (and humans). Lyme disease, the one seen most commonly, can cause arthritis and swelling of joints, leading to painful lameness. Luckily, prevention of a tick bite is possible.