Immunity
If you have immunity to effects with a certain trait (such as death effects, poison, or disease), you are unaffected by effects with that trait. Often, an effect both has a trait and deals that type of damage (such as an entropy strike spell, which has the void trait and deals void damage). In these cases, the immunity applies to the effect corresponding to the trait, not just the damage. However, some complex effects might have parts that affect you even if you're immune to one of the effect's traits; for instance, a spell that deals both fire and acid damage can still deal acid damage to you even if you're immune to fire.
Immunity to Critical Hits
Immunity to Nonlethal
Temporary Immunity
Temporary immunity doesn't prevent or end ongoing effects of the source of the temporary immunity. For instance, if an ability makes you frightened and you then gain temporary immunity to the ability, you don't immediately lose the frightened condition due to the immunity you just gained- you simply don't become frightened if you're targeted by the ability again before the immunity ends.