The stsadm command is a very powerful tool for SharePoint server administrators. It is available in both SharePoint Server (MOSS) and SharePoint Services (WSS).
It can perform a wide variety of functions including backup/restore, web application creation, site configuration. Sometimes is is the only way to perform certain actions (e.g. changing the server farm account).