The United Nations Convention Relating to the Status of Refugees is an international agreement that defines who is a refugee. It lists the rights of people who are granted asylum (allowed to live in another country because it is not safe to live in their home country). It also lists the responsibilities of countries that give asylum to refugees.
The Convention also says which people are not seen as refugees, like war criminals.