Taking part in social activities such as volunteering and sports clubs could help support cognitive health, particularly in older adults, a recent study has found.