Instruction: Describe how the 'this' keyword works in different contexts within JavaScript.
Context: This question evaluates the candidate's understanding of the context-sensitive nature of the 'this' keyword, a core concept in JavaScript object-oriented programming.