Stack trace
The list of active function calls printed under a Luau error, from the failing line back to what called it.
Think of it as The chain of doors the smoke came through to reach the alarm.
When error() runs or an operation fails, Roblox prints Stack Begin, one frame per active call (innermost first), and Stack End. Reading it tells you which caller handed in a bad value.
Where the picture breaks
A smoke detector sounds close to the fire, but an error sounds at the line that used a bad value, which can be far from the line that made it, and the trace lists only the calls still running.
The virtual machine raises an error at the instruction that fails, and the stack trace lists the active calls at that moment, innermost first. The cause can be any earlier code that produced the bad value.
See it with the rest of the analogy cast
Official reference: create.roblox.com