This example shows how Rust uses references to borrow variables safely. First, a variable x is created with value 10. Then, a reference r is made to borrow x immutably. Using r, the program prints the value of x without taking ownership. After printing, the program ends and all variables and references go out of scope and are dropped. This pattern ensures safe access to data without copying or ownership transfer. Immutable references allow reading but not changing the data. Mutable references are needed to modify. The execution table tracks each step, showing variable and reference states and output. Key moments clarify common confusions about mutability and scope. The quiz tests understanding of reference pointing, output timing, and mutable references. The snapshot summarizes the main rules for using references in Rust.