Does niacin contain nitroglycerin?

No, Niacin (B3) exists as either Nicotinic acid or Niacinamide.