The crankshaft is typically made of steel or cast iron and is supported by the main bearings within the engine block. It is connected to the pistons via connecting rods and to the camshaft via a timing gear or chain. The crankshaft also typically has a flywheel attached to it, which helps to smooth out the power output of the engine.