Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
There must be a situation of emergency arising without fault on the part of the actor concerned;
this emergency must be so imminent and compelling as to raise a reasonable expectation of harm, either directly to the actor or upon those he was protecting;
this emergency must present no reasonable opportunity to avoid the injury without doing the criminal act;
the injury impending from the emergency must be of sufficient seriousness to outmeasure the criminal wrong.