C4 is an equipment unlock tied to the Support class.
Play as Support and earn points through the class's gadget and assault-defence tools — resupplying teammates with ammo, laying down suppressive fire and reviving where applicable. As your Support score climbs, C4 becomes available in the equipment tree, and you can then equip it in your loadout.
Once unlocked, C4 pairs well with a well-placed vehicle or a defended objective: stick the charges, retreat, then detonate.