A paternity test determines if a person is the biological paternal side of a child. It's performed by comparing DNA samples from the child to the alleged person.
This test can determine the biological relationship between:
Paternal grandfather - grandson
Paternal uncle -nephew
Brothers
Paternal grandmother - granddaugter
Paternal half sisters