Sinatra is a micro web framework built on top of Rack that uses RESTful routing and emphasizes URL design. It allows routing HTTP requests to code blocks, uses views and layouts to combine code and markup, and includes filters and helpers. Sinatra applications can be deployed on any server compatible with Rack.