A head of state is the public persona of a sovereign state. The name given to the office of head of state depends on the country's form of government and any separation of powers; the powers of the office in each country range from being also the head of government to being little more than a ceremonial figurehead.
In a parliamentary system, such as India or the United Kingdom, the head of state usually has mostly ceremonial powers, with a separate head of government. However, in some parliamentary systems, like South Africa, there is an executive president that is both head of state and head of government. Likewise, in some parliamentary systems the head of state is not the head of government, but still has significant powers, for example Morocco. In contrast, a semi-presidential system, such as France, has both heads of state and government as the de facto leaders of the nation (in practice, they divide the leadership of the nation between themselves).