A paternity test determines if a person is the biological maternal 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:
Maternal half brothers/sisters
Maternal uncle/aunt - nephews/nieces
Maternal grandmother - grandson/granddaugter