What is the name of planting plants in a closed glass tank?

What is the name of planting plants in a closed glass tank?

I think the oxygen and carbon dioxide is supposed to be circulated in the tank itself. and it self sustains. no pump need etc.. i think..

anyone knows what it is called? and how to do it?