A pathologic fracture occurs when a bone breaks in an area weakened by a disease, such as cancer or osteoporosis, rather than from a significant trauma. It often indicates an underlying medical condition that compromises bone integrity, necessitating further investigation and treatment of the root cause.