Multiple Ownership
Sometimes a value needs multiple owners.
Rc<T>(Reference Counting): Allows multiple owners. When the last owner is dropped, the data is freed. (Only for single-threaded use).RefCell<T>: Allows Interior Mutability. You can mutate data even when you have an immutable reference to theRefCell(checked at runtime).
In Web3, these are used for complex graph-like data structures or state management.