Database in unity?

Is there a way to store variables inside a database to call back at another time? For example save and loading a game.

This is by far the best forum post on using a database with Unity if you want to start from scratch and use SQLite:

http://forum.unity3d.com/threads/31611-how-to-setup-a-database-in-Unity

Additionally, there are several products on the asset store, one I’ve purchased was SQLiteKit, not very good documenation but it uses threading and a queue system which is paramount for high I/O

http://forum.unity3d.com/threads/150778-SQLiteKit

If you are just storing basic game data from time to time, you would be better off using a more thougough SQLite implementation which I believe is the best and most well though out framework for working with databases with Unity and that is Simple SQL

http://www.echo17.com/simplesql.html

Fully managed code database

https://forum.unity3d.com/threads/iboxdb-lightweight-embedded-database.217097/