Magnetostriction is a property of ferromagnetic materials that causes them to change their shape or dimensions during the process of magnetization.