The all-purpose 'linker' particle connecting two nouns (Noun 1 modifies Noun 2). It shows (1) belonging/possession, (2) attributes (material, origin), (3) apposition (equivalence), and it also (4) nominalizes verbs and clauses (turns them into noun phrases).
[Modifying Noun] の [Main Noun] | [Verb/Clause] + の
これは私の本です。
Kore wa watashi no hon desu.
This is my book.
私 (I) の (possessive) 本 (book)
友達の佐藤さんです。
Tomodachi no Satou-san desu.
This is my friend Satou.
Apposition: 'my friend, who is Satou'
本を読むのが好きです。
Hon o yomu no ga suki desu.
I like reading books.
読む (verb) + の turns 'read' into 'reading' (a noun phrase), then が marks it
• Beyond Ownership: の isn't only possessive. 日本の車 = 'a car from Japan' (Japanese car); 木の机 = 'a desk made of wood.' • Replacing Nouns: 赤いのが欲しい (I want the red one) — の stands in for the noun 'one/thing.' • Explanatory Endings: At the end of a casual sentence, の seeks or gives an explanation/emotional nuance: どこに行くの? (Where are you going, then?).
The JLPT rarely asks whether you recognise a pattern — it asks which of several similar patterns fits. These are the ones の is tested against.
Inside a noun-modifying clause, the subject may be marked with either の or が with the same meaning: 私の作った料理 = 私が作った料理 (the food I made). Elsewhere の (linker/possessive) and が (subject) are not interchangeable.
As a nominalizer, の feels concrete/experiential and is required before perception verbs (見る, 聞こえる); こと is more abstract and is used with things like 趣味は…こと or できる. '泳ぐのが好き' vs '趣味は泳ぐことです'.
Study Japanese grammar on LenGaki

Get the Android app
The app adds offline study, home-screen widgets, stroke-order tracing, speaking practice with pronunciation scoring, and an AI tutor that answers questions in context — none of which fits in a browser tab.