Osteochondritis dissecans is a condition that affects the joints, usually the knees or elbows. It occurs when a small piece of bone and cartilage breaks off inside the joint, causing pain and inflammation. It can happen from an injury or due to poor blood supply to the affected area. Treatment may involve rest, medication, physical therapy, or surgery to remove or repair the damaged piece.