Probably you are referring to the Holographic Principle. The Holographic Principle is an idea that arised in attempts to obtain a quantum theory of gravity. Let me try to explain some of this.
Everything around us is made of building blocks (electrons, quarks and what not) that talk to each other through messengers. In physics, we know of four such interactions among the building blocks: electromagnetism, weak interactions, strong interactions and gravity. The first three work according to the rules of Quantum Mechanics, but writing down a theory of quantum theory of gravity is famously difficult, superstring theory being our best current shot at it.
Currently we don’t have an experimentally tested and unanimously accepted theory of quantum gravity, and theoretical physicists have tried to pin down properties that such theory should obey. The Holographic Principle is purported to be such a property, and it originally arised by thinking about some very peculiar features of black holes. In its original encarnation, it can be roughly presented as saying:
The amount of entropy [=information] one can place in a given region of space is bounded, and that bound grows with the area of the surface enclosing that region of space.
So, even if we observe three spatial dimensions, all the information needed to describe what’s going on in our world could in principle be encoded in a two dimensional surface [the proverbial Wall in the Cave of Plato?]. Hence, the name of hologram, and the provocative slogan that “the world is 2D”.
If true, this is terribly non intuitive, since one would expect that the amount of information you can place in a region of space, grows with the volume of that region of space. Let me try to give an intuitive analogy. The question we are asking is: how much information (=entropy) can you place in the room where you are in? For instance, consider filling the room with books, and accept that there is a minimum size of font for the letters in the books (ok, and a minimum thickness for the pages of the books!). That means that there is a bound in the amount of information you can place in the room. Furthermore, you can pile up books all over, from the floor to the ceiling. It you have a room twice bigger, you can put twice the number of books. So in this example, the maximum amount of information grows with the volume of the room.
That’s certainly the behavior we are used to in physics (“the entropy grows with the volume”), but the Holographic Principle claims that once you take gravity into consideration, things change dramatically (very briefly, if you try to pile up too much stuff together, it forms a black hole and the entropy of a black hole grows as its area). This is one of many hints that gravity is quite different from the other interactions.
Going back to the previous analogy, you could think of the Holographic Principle as saying that most of the books you tried to put inside the room are redundant, they just repeat information that is somewhere else in the room. If you keep only the books that are not redundant, you discover that at best you can cover the walls (and the floor and the ceiling), but they can’t pile up inside the room.
Amazingly, the holographic principle has been realized in wonderful detail for specific spacetimes, in the framework of string theory. On the other hand, no theory of quantum gravity (including string theory) has been tested experimentally, so we still don’t know if the Holographic Principle applies to the real world.