Hi William,
There is no quick easy answer to your question. Please take a look at the following Kwiziq lesson and also, as Chris says, the Q&A section which is full of answers to more specific queries -
https://french.kwiziq.com/revision/grammar/when-to-use-cest-or-il-est-elle-est-to-say-it-is
Bonne Continuation!