京 is built from the 亠 (lid), 口, and 小 components.
It belongs to a phonetic family with 景 and 鯨 — they share the 京 component and the reading ケイ.
A common word using 京 is 上京 (じょうきょう), meaning “proceeding to the capital (Tokyo)”.
Don't confuse it with 涼, 景, 影, and 高.