The FAQ in the World Bank website provides detailed information about it. Some excerpts below (emphasis mine):
We start with national poverty lines, which usually reflect the line below which a person’s minimum nutritional, clothing, and shelter needs cannot be met in that country. Not surprisingly, richer countries tend to have higher poverty lines, while poorer countries have lower poverty lines.
So they usually reflect only food, clothing and housing costs. Do not include transport or education. However, it depends on how each country defines the national poverty line. Apparently the WB does not alter these lines.
When we want to identify how many people in the world live in extreme poverty, however, we cannot simply add up the national poverty rates of each country, because this would mean using a different yardstick to identify who is poor in each and every country. We therefore need a poverty line that measures poverty in all countries by the same standard.
Aggregating across these lines is not enough. You need to make them comparable. That is where the PPP comes in.
In 1990, a group of independent researchers and the World Bank proposed to measure the world’s poor using the standards of the poorest countries in the World. They examined national poverty lines from some of the poorest countries in the world, and converted the lines to a common currency by using purchasing power parity (PPP) exchange rates. The PPP exchange rates are constructed to ensure that the same quantity of goods and services are priced equivalently across countries.
So what is PPP? According to Chapter 1 in this website:
A Purchasing Power Parity is a form of exchange rate based upon a comparison of prices between countries. The Big Mac Index compiled and published by the Economist is a widely known example of a PPP based on a single consumption item. The Big Mac Index is based on the comparison of its cost between countries compared to its cost in the US. A Big Mac in the Philippines, for example, cost 68 pesos in July 2004 compared to $2.90 in the US. In the Big Mac index, the ratio of the price in pesos divided by the US price is 23.5, and this figure is a basic example of a Purchasing Power Parity between the Philippines and the US. The ratio, 23.5, implies that 23.5 pesos have the same purchasing power as one US dollar. [...] In reality, Purchase Power Parities are prepared using relative prices for a very large number of comparable goods and services because the levels of price differences vary between different items and parts of the economy.
Therefore, the PPP converts local money into US dollar equivalent, for a given year. This means that a person living in the US could get an more or less precise idea of how poor a person living under the poverty line is by comparing their own incomes and prices to those of the poverty line (adjusting the line by inflation based on current year).
You can read more about the PPP and its use for the international poverty line here.