We already know that exercise seems to reduce dementia risk (a 2022 paper found that walking 3,800 steps a day may lower your likelihood of developing dementia by 25%, with increasing benefits up to 9,800 steps).
Article source: https://www.huffingtonpost.co.uk/entry/20-mins-cycling-memory_uk_69c3f67fe4b081f8eb14351a