Scientists at Israel’s Technion Institute have discovered which of the brain’s neurons are involved in learning complex movements of the body. These neurons remember success or failure and adjust their initial state for the next trial, so that the body’s movement can adapt.
https://www.technion.ac.il/en/2020/10/skilled-movement-the-brain/