Short-channel effects occur in MOSFETs when the channel length becomes comparable to the depletion-layer widths of the source and drain junctions, leading to undesirable effects such as threshold voltage roll-off and drain-induced barrier lowering. These effects become more pronounced as device dimensions shrink in advanced semiconductor technologies, impacting device performance and scaling.