Explain the terms master and slave in a distributed system….