The middle air is composed of dead air spaces. When the pressure outside is different (high or low) compared to your middle ear, you experience pain in your ears. This is common when you ride airplanes or diving under the water. You can vent your ear spaces by opening your Eustachian tubes. This can be done by swallowing, pushing your jaw forward or when burping.