¿Qué hace la función eval en python stack overflow?

>>> x = 1
>>> eval('x + 1')
2
>>> eval('x')
1
Odd Ocelot