A foam roller is a dense cylinder used to apply rolling pressure to muscle — self-massage under body weight. Small massage balls apply the same idea to smaller areas.
A meta-analysis of 21 studies in Frontiers in Physiology (2019) reported that foam rolling before exercise produces small improvements in flexibility and sprint performance without harming strength, and that rolling after exercise slightly reduces the drop in performance and the muscle soreness that follow hard sessions. The authors describe the average effects as minor and note they may matter most where small margins count. The mechanisms reported in the literature are mostly neural — changed stretch tolerance — rather than physical change to the tissue itself.