The default format in latex for paragraphs is fully justified, where the first word of a line touches the left margin and the last word of a line is flush with the right margin.
This is nice for lines that are about as long as the width of the text area, but if there are few words, LaTeX will create large amounts of whitespace between the words so they touch both sides.
In a document editor like Word or Writer, when I set the format to fully justified, this only applies to lines within a certain range of the edge as in almost every line is fully justified unless a line is specifically shorter and in that case appears left justified.
Here's an example image comparing the two:
Is there a way to do the equivalent justification in LaTeX?