What are tumor markers, and how are they used in cancer detection?

What exactly are tumor markers, and how do doctors use them to detect or monitor cancer?