Osteomyelitis is a severe bone infection caused by bacteria or fungi. It can affect any bone in the body, but most commonly affects the long bones in the arms and legs, spine, and pelvis. Symptoms include pain, swelling, fever, and difficulty moving the affected limb.