There are two types of voice in English: Active and Passive. The rules for each one is different.
These videos will give you a good understanding of the grammar of passive voice and how it is used.
Here is the link to the whole playlist on YouTube. This playlist will give you a better understanding of passive voice and how it is USED with purpose.