The official vignette, "Reference semantics", is the best introduction to this topic.
A reminder: DT[where, select|update|do, by] syntax is used to work with columns of a data.table.
The "where" part is the i argument
The "select|update|do" part is the j argument...