In Germany, is the president or chancellor the head of state?

In Germany, the federal president is the head of state, while the federal chancellor is the head of government. The roles of the two positions differ in terms of their responsibilities and powers. The president represents the country domestically and internationally, primarily serving in a ceremonial and symbolic capacity. The chancellor, on the other hand, holds executive power and is responsible for the day-to-day administration of the government.