Joint aspiration can be performed for both diagnostic and therapeutic purposes. Diagnostic reasons include analyzing synovial fluid to identify the cause of joint swelling, pain, or inflammation. Therapeutic purposes involve relieving pressure and pain by removing excess fluid from the joint.