A closed pneumothorax occurs when air leaks into the pleural space (the space between the lung and chest wall) from within the lung itself, without any external wound or injury to the chest wall.