Total internal reflection (TIR) occurs when light reflects entirely within a denser medium upon reaching a rarer medium at specific angles, with the critical angle defining this phenomenon. Optical fibers utilize TIR for efficient light transmission in communication, while prisms demonstrate TIR's applications in devices like periscopes and projectors. The document also explains the consequences of TIR, such as the sparkling of diamonds and visual effects in glass objects.