Hi, it appears to be the ganglion
projection from the joint . uuually it is pain less, as it is near the most moving part it might be paining, or may be some skin lesion.
I advise you to consult an orthopedic surgeon for diagnosis and treatment. Avoid giving them tubers, tomato,and sea foods. Thank you.