@Aarnav Saxena See the following examples. In this case, '_' represents where the cursor is.
[Outputs: Hello World_]
The comand write just displays text and leaves the cursor on the same line.
The command writeln displays text and moves cursor to the next line.
Hope this explains! ☺