Rack is a Ruby replacement for CGI
Rack sits between Rail Framework and the Web Server
So Rack provides you minimal,modular and adaptable interface for developing web applications