Not sure what OP meant, but I wouldn’t say DNA is the machine. The ribosome is. But DNA is certainly much more than just code to build proteins. Or rather, it strongly interacts with its enviroment, so trying to understand its function in isolation will give you just the tip of an iceberg. In CS language, there is a lot of global state.