The definition of introspection is self-examination, analyzing yourself, looking at your own personality and actions, and considering your own motivations.
An example of introspection is when you meditate to try to understand your feelings.
a looking into one's own mind, feelings, etc.; observation and analysis of oneself
Contemplation of one's own thoughts, feelings, and sensations; self-examination.