Brackets are of course used to delineate blocks of code contained within loops, conditional statements, or functions. For clarity, any statement executed within a conditional or loop should be enclosed in brackets, even if it is just one line. For example:
if(something true) { do something; }and not
if(something true) do something;
Also note that each bracket gets it's own line in the source code.