Typography is the art of text design.
We can think of it as an artistic technique for creating illustrations and other graphic design objects. But, in addition to the artistic component, typography is primarily laws and rules that help the reader to easily scan and understand what is written. Typography carries not only an aesthetic task, but also a functional one, which means that the text should be easy to read.
Source: amadine.com