A Turing machine consists of a finite-state control unit, an infinite tape divided into cells to hold symbols, and a read/write head. At each step, the control unit reads the symbol under the head, writes a symbol, and moves the head left or right. It can enter a new state depending on the symbol and its current state. Turing machines can recognize, generate, evaluate, and decide languages by looping through state transitions and tape operations until reaching an accepting or rejecting state. They provide a model for general computation that is theoretically more powerful than finite state machines.