I'm sure you can find plenty of information about that on the internet or in some grammar books. That is far too broad a question for this forum to deal with. When you have studied the subject, come back to us if you have any specific questions about it.
I have moved your post to the "Pronunciation" section as that is more appropriate.