The concept of referential transparency says that, an expression always evaluates to the same value, irrespective of context or any other variance. To be more specific, you can replace a function with its return value.
Immutability, with help of pure functions, can establish referential transparency. Referential transparency strongly denies the mutable state of data.