A linkage device combined with a carbon dioxide and rich-oxygen removing generator for a family, a pig shed and a vegetable shed also can be combined with a living room or an activity room of people. The air odor, harmful gas in the air, NOx gas, toxic gas and dust particle are removed by the ozone water, more importantly, the viruses and bacteria are killed, oxygen is resolved from the ozone, and the non-toxic, sterile, dustfree and clean air rich in carbon dioxide and oxygen is transported in the vegetable shed, therefore the plants grow quickly and the photosynthesis, respiration and metabolism are all strong by adopting the greenhouse simulated illumination, temperature, humidity, fertilizer component and amount suitable for optimum growth conditions of the plants with excellent air input, the carbon dioxide is consumed in the photosynthesis, the oxygen is increased, the air with residual carbon dioxide and rich oxygen is led from the vegetable shed and input to the carbon dioxide-removing, disinfecting and dust-removing ozone water and the oversaturated calcium oxide (calcium hydroxide) fluid, the dust-removing, disinfecting, carbon dioxide-removing and clean rich-oxygen air is transported to the animal shed for respiration of the animals, so as to lead the respiration and metabolism of the animals to be strong, the oxygen content in the blood to be high and immunity to be strong. The pig manure and urine are used as organic fertilizer for the plants and calcium bicarbonate is obtained in the carbon dioxide-removing process.