central , server master vs peripheral, client, slave

Hi When using BLE events i'm usually confused which event to handle , for example GATTS_WRITE or GATTC_WRITE.. i don't know which is the server and the client ?

Any idea to differenciate between them ? I tested some apps and i read some documents ,, i arrived to this conclusion : MASTER=Server= Central Slave=Client=peripheral Is that True ?