Voice is a grammatical category that applies to verbs. Voice expresses the relationship of the subject to the action.
In a sentence written in the active voice, the subject of sentence performs the action stated by the verb. In a sentence written in the passive voice the subject receives the action.
Passive voice is used when the focus is on the action. It is not important or not known who or what is performing the action.