Capitalization is used in a sentence to indicate the beginning of a new sentence, proper nouns (names of people, places, and things), the pronoun "I", and the first letter of titles and headings. It is also used for emphasis or to show respect in certain contexts.