It should be considered as a light http framework on which Rails is built on top of and serves all http requests.
On rails, it configured with the file config.ru in the root of the application directory. Rack is called when using commands like rails server
This must not be confused with rake which is a ruby implementation of a make-like program that executes tasks