As previously mentioned, the are used to create the framework. I don't know the language myself but its definitely worth checking out. Alot of websites, including search engines, run on this framework.
The previous poster wrote very nicely what it it.
Additionally check out:
http://en.wikipedia.org/wiki/Ruby_on_Rails