Neurons and muscle cells perform different functions, however they have the same DNA (genetic material) contained within them.
The function of muscle cells is to mechanically contact to allow the body to move in space.
The function of nerve cells is to send and receive signals. in order to trigger an event or elicit a response.