A man undergoing treatment for heart failure coughed up a massive blood clot in the perfect shape of his lung passage, and the image has drawn equal amounts of amazement and disgust online.

The image, published in a photo essay of medical anomalies from the New England Journal of Medicine, shows the bright-red, 15-centimetre-wide clot with branches identical to the right bronchial tree of the patient’s lung.

According to the image’s description, the 36-year-old male patient spit up the clot “during an extreme bout of coughing.” This provided the patient with temporary relief, but he died nine days later due to heart failure complications.

“We were astonished,” Georg M. Wieselthaler, the pulmonary surgeon who operated on the patient, told The Atlantic. “It’s a curiosity you can’t imagine—I mean, this is very, very, very rare.”

Wieselthaler had the patient’s heart connected to a device designed to help blood flow, but these devices can cause clotting, which could explain the size of the clot. He added surgeons still aren’t sure how it could have come out without breaking.

While extremely uncommon, this isn’t completely unheard of. In 2005, the European Journal of Cardio-Thoracic Surgery published a similar photo of a bronchial tree-shaped clot that a pregnant 25-year-old woman coughed up. This clot was much smaller, however.

The image has gone viral since it was posted last week, with people comparing it to a lit-up Christmas tree, a pile of licorice and coral. Others are asking for advice on how to avoid seeing the image.