A dead language is no longer spoken natively, but it might still be studied, used in writing, or preserved in specific fields (like religion or science).
An extinct language, on the other hand, has no speakers at all —not even as a second language.
Don't confuse "dead languages" with "extinct languages"