Writing, Sentence
noun
The kanji and the word are exactly the same. That means they share meanings as well. By itself, 文 can also just mean sentence, especially in grammatical contexts.
ぶん
This word uses one of the readings you learned for the kanji: ぶん. You can remember this by thinking how whenever you're working on your writing, eating a bun (ぶん) helps you write better sentences.
文をかくのが上手ですね。
You're great at writing.
データや文を入力します。
I enter data and sentences.
さいきんはAIのほうが人々よりも上手な文をかく。
AI writes better sentences than people these days.