Hey Abhinav,
Use ‘that’ for a relative clause when you want to include the idea of that clause is required to convey the sentence meaning as a whole. Which can be used when you want to give only additional information that is not required to convey the meaning as a whole. Check the video lesson on Relative Pronouns – it is very well explained.