A typical Bourne shell script starts with the line #!/bin/sh. This is an instance of a general UNIX mechanism that allows arbitrary script interpreters to be invoked with #!/path/to/interpreter, and is not strictly necessary for Bourne shells scripts since usually unrecognized executables are fed to /bin/sh by default, but it's not a bad idea to be explicit.
A script consists of these basic constructs:
For the complete lowdown on shell syntax, look through man sh, but I'll go on to describe some of the common features.