Paraesophageal hernias, a rare type of hernia, occur when part of the stomach or nearby organs shift into the chest cavity.