Both tí and pé translate in English to mean “that” but they are used differently: tí is used only after nouns and pé is used only after verbs.
Nnkan tí mo fé Things that I want
Omo tí Olú féràn The child that Olu loves
Bàtà tí Adé rà Shoes that Ade bought
Ó so pé Olú fé jeun He said that Olu wants to eat
Mo gbà pé ó ye kí a lo I agree that it is necessary for us to go.
Kunle rántí pé oúnje wà Kunle remembered that there is food