Retinal detachment occurs when the retina separates from the underlying layers. This can disrupt the function of all retinal layers, leading to vision loss. Immediate medical attention is required to prevent permanent damage.