Django, Flask, bottle.py, Pyramid, Sanic are web frameworks running on WSGI which is running on some web server like Apache or Nginx.
You can use these frameworks to build a web application. Or you can use plain SGI. The frameworks just make it easier for you.