Abilities, spells and weapons can do damage to creatures and objects. How that damage is done is through its damage type.
Certain creatures or objects can have resistance (take 1/2 damage) or immunity (no damage) or vunerability (2 times damage) from the damage type.
Damage type is different from status effects. Because damage is a number which effects the creatures hit points after a hit, or failed saving throw.