It uses a technique called PBR (Physically Based Rendering) to realistically recreate materials. PBR relies on real-world data to determine how different light sources interact with your design and materials. This makes it possible to create very realistic renders, many indistinguishable from photographs, but it also means that Eevee is more limited than Cycles when it comes to creating materials like glass.