Frameworks operate at the Application layer (C) to provide reusable infrastructure for business logic, security, data access, and presentation. They abstract complex tasks like database connections, authentication, and request handling. Hardware (A) and Operating System (B) are lower layers, while Web/Application Server (D) is a runtime container that hosts framework-based applications but isn't the framework itself.