While Ruby is an object-oriented programming language, Ruby on Rails is a framework built on Ruby language. It provides a set of tools and libraries that help build apps using Ruby language faster and more efficiently.