President is a common title for the head of state in most republics. Depending on the country, a president could be head of government, a ceremonial figurehead, or something between these two extremes.
The functions exercised by a president vary according to the form of government. In parliamentary republics, they are usually, but not always, limited to those of the head of state and are thus largely ceremonial. An exception to this would be presidential-parliamentary republics (e.g. Botswana and South Africa), the role of the president is more prominent, encompassing more of the functions of a head of government. In semi-presidential republics, the president has some discretionary powers like over foreign affairs, appointment of the head of government and defence, but they are not themselves head of government. A leader of a one-party state may also hold the position of president for ceremonial purposes or to maintain an official state position.