Obsidian, Ancient Debris, Barriers, and Bedrock are completely resistant to the explosion, and cannot be destroyed normally. If the TNT is in water, any nearby blocks won't be destroyed but any mobs nearby will still receive damage.