The answer is potentially very long, but in short
MDM/MEM - Manages the Device and the Content on the device.
NAC - Authenticates the device onto the network when it authN's over wireless/wired or VPN network and looks to ensure the device is healthy based upon device/user posture to stay on the network in its current role/state.