Instruction: Provide a detailed comparison between Flask's application context and request context, including when each is used.
Context: This question tests the candidate's deep understanding of Flask's context mechanisms, which are fundamental for managing global objects and data throughout an application lifecycle.