Flask is a lightweight, open-source Python web framework used to build web applications with minimal code and flexible architecture.