Nodes are the basic building blocks of any composite. To create a new compositing script, you insert and connect nodes to form a network of the operations you want to perform to layer and manipulate your images.
NOTE: Not all nodes are supported in all versions of Nuke. For a run down of supported nodes, see Flavors of Nuke.