It's often used in scientific writing, mathematics, and programming to distinguish between different versions of a variable or to denote a derivative of a function.
For example:
* x' might represent a different value of the variable x.
* f'(x) might represent the derivative of the function f(x).