Answer :

That is called a simulation! A simulation can be a lot of things. For example, simulating a mechanical machine with gears, axles, and other things. One application of this is helping mechanical engineers design machines and not have to waste as many materials making prototypes (though computers are still fallible and prototypes will have to be made).