You may be looking for DIS: "Context Is for Kings".
Context was the circumstances in which something was said, written, or done, necessary for the proper interpretation of same.
In 2365, Data reminded Thadiun Okona by saying, "Sexual attraction in this context is not a part of my programming. I am an android." (TNG: "The Outrageous Okona")
Data surmised Ard'rian McKenzie's kissing him was done to show her support, within the context of him having failed to convince Gosheven. (TNG: "The Ensigns of Command")
Saru appreciated the context Michael Burnham gave as to why ____ might treat him differently in public than in private, saying it was something Vulcans often did, rather than a personal slight. (DIS: "Species Ten-C")