The tests help diagnose and treat joint-related problems.Sometimes, removing the fluid can also help relieve joint pain.