For any questions related to tip selection algorithm in IOTA
IOTA uses tip selection algorithm to resolve conflicts in tangle. It runs many times to check which transaction, of the two conflict transactions, is more likely to be approved by a selected tip.
A tip is a newly issued transaction that has not received any approval.